diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-04 11:31:57 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-04 11:31:57 +0100 |
| commit | 1c7904697ff76d162c964fb2dbb4e63f589d08c0 (patch) | |
| tree | ed9d55cbaf497bd3f13c6156d1bb53d598e0bf74 /modules | |
| parent | 0309f4edb22bca48c0cf7184b16c581526e911cd (diff) | |
| download | stock-1c7904697ff76d162c964fb2dbb4e63f589d08c0.tar.gz stock-1c7904697ff76d162c964fb2dbb4e63f589d08c0.tar.bz2 stock-1c7904697ff76d162c964fb2dbb4e63f589d08c0.zip | |
Convert {booticon} to {biticon} — freedesktop/tango icon names throughout
Replace all {booticon iname="icon-*"} and {booticon iname="fa-*"} calls with
{biticon ipackage="icons" iname="<freedesktop-name>"} using the tango iconset.
Mapping covers ~70 distinct old names to tango equivalents (edit-delete,
document-properties, go-next, lock, internet-mail, etc.).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'modules')
| -rwxr-xr-x | modules/mod_navigation.tpl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/mod_navigation.tpl b/modules/mod_navigation.tpl index 9c87dea..d964f85 100755 --- a/modules/mod_navigation.tpl +++ b/modules/mod_navigation.tpl @@ -3,19 +3,19 @@ {bitmodule title="$moduleTitle" name="stock_navigation"} <div class="d-grid gap-1"> {if $gBitUser->hasPermission('p_stock_view')} - <a class="btn btn-default btn-block" href="{$smarty.const.STOCK_PKG_URL}list_assemblies.php">{booticon iname="fa-list" iexplain="List Assemblies"} {tr}Assemblies{/tr}</a> - <a class="btn btn-default btn-block" href="{$smarty.const.STOCK_PKG_URL}list_components.php">{booticon iname="fa-tags" iexplain="List Components"} {tr}Components{/tr}</a> + <a class="btn btn-default btn-block" href="{$smarty.const.STOCK_PKG_URL}list_assemblies.php">{biticon ipackage="icons" iname="text-x-generic" iexplain="List Assemblies"} {tr}Assemblies{/tr}</a> + <a class="btn btn-default btn-block" href="{$smarty.const.STOCK_PKG_URL}list_components.php">{biticon ipackage="icons" iname="emblem-favorite" iexplain="List Components"} {tr}Components{/tr}</a> {/if} {if $gBitUser->hasPermission('p_stock_create')} - <a class="btn btn-primary btn-block" href="{$smarty.const.STOCK_PKG_URL}edit_assembly.php">{booticon iname="fa-plus" iexplain="Add Assembly"} {tr}Add Assembly{/tr}</a> - <a class="btn btn-primary btn-block" href="{$smarty.const.STOCK_PKG_URL}edit_component.php">{booticon iname="fa-plus" iexplain="Add Component"} {tr}Add Component{/tr}</a> + <a class="btn btn-primary btn-block" href="{$smarty.const.STOCK_PKG_URL}edit_assembly.php">{biticon ipackage="icons" iname="list-add" iexplain="Add Assembly"} {tr}Add Assembly{/tr}</a> + <a class="btn btn-primary btn-block" href="{$smarty.const.STOCK_PKG_URL}edit_component.php">{biticon ipackage="icons" iname="list-add" iexplain="Add Component"} {tr}Add Component{/tr}</a> {/if} {if $gContent && $gContent->isValid() && $gContent->hasUpdatePermission()} {if $gContent->mContentId && $gContent->mContentTypeGuid == $smarty.const.STOCKASSEMBLY_CONTENT_TYPE_GUID} - <a class="btn btn-warning btn-block" href="{$smarty.const.STOCK_PKG_URL}edit_assembly.php?content_id={$gContent->mContentId}">{booticon iname="fa-pen-to-square" iexplain="Edit"} {tr}Edit Assembly{/tr}</a> - <a class="btn btn-default btn-block" href="{$smarty.const.STOCK_PKG_URL}component_order.php?content_id={$gContent->mContentId}">{booticon iname="fa-sort" iexplain="Order"} {tr}Component Order{/tr}</a> + <a class="btn btn-warning btn-block" href="{$smarty.const.STOCK_PKG_URL}edit_assembly.php?content_id={$gContent->mContentId}">{biticon ipackage="icons" iname="document-properties" iexplain="Edit"} {tr}Edit Assembly{/tr}</a> + <a class="btn btn-default btn-block" href="{$smarty.const.STOCK_PKG_URL}component_order.php?content_id={$gContent->mContentId}">{biticon ipackage="icons" iname="view-sort-ascending" iexplain="Order"} {tr}Component Order{/tr}</a> {elseif $gContent->mContentId && $gContent->mContentTypeGuid == $smarty.const.STOCKCOMPONENT_CONTENT_TYPE_GUID} - <a class="btn btn-warning btn-block" href="{$smarty.const.STOCK_PKG_URL}edit_component.php?content_id={$gContent->mContentId}">{booticon iname="fa-pen-to-square" iexplain="Edit"} {tr}Edit Component{/tr}</a> + <a class="btn btn-warning btn-block" href="{$smarty.const.STOCK_PKG_URL}edit_component.php?content_id={$gContent->mContentId}">{biticon ipackage="icons" iname="document-properties" iexplain="Edit"} {tr}Edit Component{/tr}</a> {/if} {/if} </div> |
