diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-01 09:21:38 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-01 09:21:38 +0100 |
| commit | c2f0cde6821a8b9881149a6136e51ce9898d0476 (patch) | |
| tree | eea9c4f303aa123422d8defe41abd43233436686 /modules | |
| parent | 54efaa8253c48fb5597b5e477b20a4127365d7c7 (diff) | |
| download | stock-c2f0cde6821a8b9881149a6136e51ce9898d0476.tar.gz stock-c2f0cde6821a8b9881149a6136e51ce9898d0476.tar.bz2 stock-c2f0cde6821a8b9881149a6136e51ce9898d0476.zip | |
Rename view.php → view_assembly.php, edit.php → edit_assembly.php
Consistent with view_component, view_movement naming convention.
All URL references updated across templates, modules, and
StockAssembly::getDisplayUrlFromHash(). nginx pretty-URL rewrite updated.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'modules')
| -rwxr-xr-x | modules/mod_navigation.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mod_navigation.tpl b/modules/mod_navigation.tpl index b3ba27e..9c87dea 100755 --- a/modules/mod_navigation.tpl +++ b/modules/mod_navigation.tpl @@ -7,12 +7,12 @@ <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> {/if} {if $gBitUser->hasPermission('p_stock_create')} - <a class="btn btn-primary btn-block" href="{$smarty.const.STOCK_PKG_URL}edit.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_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> {/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.php?content_id={$gContent->mContentId}">{booticon iname="fa-pen-to-square" 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}">{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> {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> |
