summaryrefslogtreecommitdiff
path: root/templates/view_xref_kitlocker_group.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/view_xref_kitlocker_group.tpl')
-rw-r--r--templates/view_xref_kitlocker_group.tpl18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/view_xref_kitlocker_group.tpl b/templates/view_xref_kitlocker_group.tpl
new file mode 100644
index 0000000..94a67ec
--- /dev/null
+++ b/templates/view_xref_kitlocker_group.tpl
@@ -0,0 +1,18 @@
+{assign var=xrefAllowEdit value=$allow_edit|default:false}
+{assign var=isHistory value=($xrefGroup->mXGroup eq 'history')}
+{strip}
+<div class="row stock-group-gallery">
+ {foreach $xrefGroup->mXrefs as $xrefInfo}
+ <div class="col-md-4 col-sm-6 col-xs-12">
+ <div class="panel panel-default">
+ <div class="panel-body">
+ <strong>{$xrefInfo.xref_title|escape}</strong>
+ <small class="text-muted pull-right">{$xrefInfo.item|escape}</small>
+ </div>
+ </div>
+ </div>
+ {foreachelse}
+ <div class="col-xs-12"><p class="norecords">{tr}No stock groups assigned.{/tr}</p></div>
+ {/foreach}
+</div>
+{/strip}