summaryrefslogtreecommitdiff
path: root/templates/view_component_details.tpl
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-26 14:55:36 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-26 14:55:36 +0100
commit70c559432ece25dd3def8c64ddb7c1908b4d49e0 (patch)
tree9627e43fbe0d0eb082e4d54fa47773cda77e58f7 /templates/view_component_details.tpl
parent0579f237e179c8815c1c44d9c5cef94ad2a33588 (diff)
downloadstock-70c559432ece25dd3def8c64ddb7c1908b4d49e0.tar.gz
stock-70c559432ece25dd3def8c64ddb7c1908b4d49e0.tar.bz2
stock-70c559432ece25dd3def8c64ddb7c1908b4d49e0.zip
Add xref support, assembly/component views, and import tooling
- add_xref.php, edit_xref.php: xref record add/edit for stock content types - admin xref group/source pages for stock_assembly and stock_component - assembly_views/: auto_flow, fixed_grid, position_number, simple_list layouts - Full assembly and component listing, tree, ordering, and detail pages - Import tooling (ImportAssembly, ImportComponent, load scripts) - liberty_plugins for assembly and component data types - schema_inc.php updated; StockAssembly, StockBase, StockComponent, StockMovement classes updated with xref group/item/multiple renames - Templates updated throughout for xref rename (source→item, group→x_group) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'templates/view_component_details.tpl')
-rwxr-xr-xtemplates/view_component_details.tpl17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/view_component_details.tpl b/templates/view_component_details.tpl
new file mode 100755
index 0000000..c6e76f1
--- /dev/null
+++ b/templates/view_component_details.tpl
@@ -0,0 +1,17 @@
+<div class="display stock">
+ <div class="gallerybar">
+ {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='nav' serviceHash=$gContent->mInfo}
+ </div>
+ {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='body' serviceHash=$gContent->mInfo}
+ {if $gContent->mInfo.data ne ''}
+ <p class="description">{$gContent->mInfo.parsed_data|default:''}</p>
+ {/if}
+</div> <!-- end .body -->
+
+{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='view' serviceHash=$gContent->mInfo}
+
+{if $gGallery && $gGallery->getPreference('allow_comments') eq 'y'}
+ {include file="bitpackage:liberty/comments.tpl"}
+{/if}
+
+