summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-05 16:02:02 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-05 16:02:02 +0100
commit1d1dd4a412c07c7ce02b85ec43ac0c82150457c7 (patch)
treea823cfcddaabf305937406852bb63febbfab4cef /modules
parent4a47622b072b25727a30a0be8ae130b0ff137a13 (diff)
downloadstock-1d1dd4a412c07c7ce02b85ec43ac0c82150457c7.tar.gz
stock-1d1dd4a412c07c7ce02b85ec43ac0c82150457c7.tar.bz2
stock-1d1dd4a412c07c7ce02b85ec43ac0c82150457c7.zip
Switch icons: document-properties → edit, text-x-generic → view-list-text
edit used for all edit actions; view-list-text for list links and assembly content-type placeholder (to be fine-tuned separately for add vs list contexts). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/mod_navigation.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/mod_navigation.tpl b/modules/mod_navigation.tpl
index d964f85..23a861e 100755
--- a/modules/mod_navigation.tpl
+++ b/modules/mod_navigation.tpl
@@ -3,7 +3,7 @@
{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">{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_assemblies.php">{biticon ipackage="icons" iname="view-list-text" 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')}
@@ -12,10 +12,10 @@
{/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}">{biticon ipackage="icons" iname="document-properties" iexplain="Edit"} {tr}Edit Assembly{/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="edit" 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}">{biticon ipackage="icons" iname="document-properties" 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="edit" iexplain="Edit"} {tr}Edit Component{/tr}</a>
{/if}
{/if}
</div>