summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-05 17:16:23 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-05 17:16:23 +0100
commit8598627d1332fbcdaec2983b5d55f7fd3499f219 (patch)
treed8bfd971dc3fbed87a9f7bf67278dc652d69315f
parente395ffe5ca006e9d197cd9d04e5972b3652f2636 (diff)
downloadstock-8598627d1332fbcdaec2983b5d55f7fd3499f219.tar.gz
stock-8598627d1332fbcdaec2983b5d55f7fd3499f219.tar.bz2
stock-8598627d1332fbcdaec2983b5d55f7fd3499f219.zip
Replace list_movements buttons with icons
Add Movement → view-task-add biticon; row edit → edit biticon Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rw-r--r--templates/list_movements.tpl5
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/list_movements.tpl b/templates/list_movements.tpl
index 977b4a2..512f110 100644
--- a/templates/list_movements.tpl
+++ b/templates/list_movements.tpl
@@ -3,7 +3,7 @@
<header>
<div class="floaticon">
{if $gBitUser->hasPermission('p_stock_create')}
- <a class="btn btn-default btn-sm" href="{$smarty.const.STOCK_PKG_URL}edit_movement.php">{tr}Add Movement{/tr}</a>
+ <a href="{$smarty.const.STOCK_PKG_URL}edit_movement.php">{biticon ipackage="icons" iname="view-task-add" iexplain="Add Movement"}</a>
{/if}
</div>
<h1>{tr}Movements{/tr}{if $componentTitle} — {$componentTitle|escape}{/if}</h1>
@@ -62,8 +62,7 @@
<td>{$mov.real_name|default:$mov.login|escape}</td>
{if $gBitUser->hasPermission('p_stock_create')}
<td>
- <a class="btn btn-xs btn-default"
- href="{$smarty.const.STOCK_PKG_URL}edit_movement.php?content_id={$mov.content_id}">{tr}Edit{/tr}</a>
+ <a href="{$smarty.const.STOCK_PKG_URL}edit_movement.php?content_id={$mov.content_id}">{biticon ipackage="icons" iname="edit" iexplain="Edit"}</a>
</td>
{/if}
</tr>