diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-05 17:16:23 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-05 17:16:23 +0100 |
| commit | 8598627d1332fbcdaec2983b5d55f7fd3499f219 (patch) | |
| tree | d8bfd971dc3fbed87a9f7bf67278dc652d69315f | |
| parent | e395ffe5ca006e9d197cd9d04e5972b3652f2636 (diff) | |
| download | stock-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.tpl | 5 |
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> |
