Added unlock link and greyed out customer if deactivated
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<tr>
|
||||
<tr <if $row['deactivated'] == 1>class="disabled"</if>>
|
||||
<td>
|
||||
<if $row['company'] != ''>
|
||||
{$row['company']}<br />
|
||||
@@ -56,13 +56,18 @@
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<td style="white-space: nowrap;>
|
||||
<a href="{$linker->getLink(array('section' => 'customers', 'page' => $page, 'action' => 'edit', 'id' => $row['customerid']))}" style="text-decoration:none;">
|
||||
<img src="templates/{$theme}/assets/img/icons/edit.png" alt="{$lng['panel']['edit']}" />
|
||||
</a>
|
||||
<a href="{$linker->getLink(array('section' => 'customers', 'page' => $page, 'action' => 'delete', 'id' => $row['customerid']))}" style="text-decoration:none;">
|
||||
<img src="templates/{$theme}/assets/img/icons/delete.png" alt="{$lng['panel']['delete']}" />
|
||||
</a>
|
||||
<if $islocked == 1>
|
||||
<a href="{$linker->getLink(array('section' => 'customers', 'page' => $page, 'action' => 'unlock', 'id' => $row['customerid']))}">
|
||||
<img src="templates/{$theme}/assets/img/icons/unlock.png" alt="{$lng['panel']['unlock']}" />
|
||||
</a>
|
||||
</if>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
4
templates/Sparkle/assets/css/main.css
vendored
4
templates/Sparkle/assets/css/main.css
vendored
@@ -522,6 +522,10 @@ table thead:first-child th {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.disabled td, .disabled td a {
|
||||
color: #cfcfcf;
|
||||
}
|
||||
|
||||
/* dataTables */
|
||||
table thead th.sorting_asc {
|
||||
background-image: url('../img/icons/sort_down.png');
|
||||
|
||||
BIN
templates/Sparkle/assets/img/icons/unlock.png
vendored
Normal file
BIN
templates/Sparkle/assets/img/icons/unlock.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.4 KiB |
Reference in New Issue
Block a user