<tag>
<tag-name>outputReceiptAdminMiniLinks</tag-name>
<description>This tag renders a full h:panelGroup for administrative "mini-links" for receipt data.</description>
- <source>resources/tags/admin/links/mini/financial/receipt/admin_receipt_links.tpl</source>
+ <source>resources/tags/admin/dropdown/financial/receipt/admin_receipt_links.tpl</source>
<attribute>
<name>receipt</name>
<description>The receipt instance that provides the data for this tag.</description>
<tag>
<tag-name>outputReceiptItemAdminMiniLinks</tag-name>
<description>This tag renders a full h:panelGroup for administrative "mini-links" for receipt item data.</description>
- <source>resources/tags/admin/links/mini/financial/receipt_item/admin_receipt_item_links.tpl</source>
+ <source>resources/tags/admin/dropdown/financial/receipt_item/admin_receipt_item_links.tpl</source>
<attribute>
<name>receiptItem</name>
<description>The receipt item instance that provides the data for this tag.</description>
xmlns:p="http://primefaces.org/ui"
>
- <ui:fragment rendered="#{empty rendered or rendered}">
- <ul class="navbar-mini">
- <ui:fragment rendered="#{empty renderShowLink or renderShowLink}">
- <li class="navlink-mini">
- <p:link outcome="admin_show_receipt" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{project.ADMIN_LINK_SHOW_RECEIPT_TITLE}">
- <f:param name="receiptId" value="#{receipt.receiptId}" />
- </p:link>
- </li>
- </ui:fragment>
+ <p:menuButton value="#{msg.OPTIONS}" rendered="#{empty rendered or rendered}">
+ <p:menuitem outcome="admin_show_receipt" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{project.ADMIN_LINK_SHOW_RECEIPT_TITLE}" rendered="#{empty renderShowLink or renderShowLink}">
+ <f:param name="receiptId" value="#{receipt.receiptId}" />
+ </p:menuitem>
- <li class="navlink-mini">
- <p:link outcome="admin_edit_receipt" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{project.ADMIN_LINK_EDIT_RECEIPT_TITLE}">
- <f:param name="receiptId" value="#{receipt.receiptId}" />
- </p:link>
- </li>
+ <p:menuitem outcome="admin_edit_receipt" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{project.ADMIN_LINK_EDIT_RECEIPT_TITLE}">
+ <f:param name="receiptId" value="#{receipt.receiptId}" />
+ </p:menuitem>
- <li class="navlink-mini">
- <p:link outcome="admin_delete_receipt">
- <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{project.ADMIN_LINK_DELETE_RECEIPT_TITLE}" />
- <f:param name="receiptId" value="#{receipt.receiptId}" />
- </p:link>
- </li>
- </ul>
- </ui:fragment>
+ <p:menuitem outcome="admin_delete_receipt">
+ <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{project.ADMIN_LINK_DELETE_RECEIPT_TITLE}" />
+ <f:param name="receiptId" value="#{receipt.receiptId}" />
+ </p:menuitem>
+ </p:menuButton>
</ui:composition>
xmlns:p="http://primefaces.org/ui"
>
- <ui:fragment rendered="#{empty rendered or rendered}">
- <ul class="navbar-mini">
- <ui:fragment rendered="#{empty renderShowLink or renderShowLink}">
- <li class="navlink-mini">
- <p:link outcome="admin_show_receipt_item" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{project.ADMIN_LINK_SHOW_RECEIPT_ITEM_TITLE}">
- <f:param name="receiptId" value="#{receiptItem.itemId}" />
- </p:link>
- </li>
- </ui:fragment>
+ <p:menuButton value="#{msg.OPTIONS}" rendered="#{empty rendered or rendered}">
+ <p:link outcome="admin_show_receipt_item" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{project.ADMIN_LINK_SHOW_RECEIPT_ITEM_TITLE}" rendered="#{empty renderShowLink or renderShowLink}">
+ <f:param name="receiptId" value="#{receiptItem.itemId}" />
+ </p:link>
- <li class="navlink-mini">
- <p:link outcome="admin_edit_receipt_item" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{project.ADMIN_LINK_EDIT_RECEIPT_ITEM_TITLE}">
- <f:param name="receiptId" value="#{receiptItem.itemId}" />
- </p:link>
- </li>
+ <p:link outcome="admin_edit_receipt_item" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{project.ADMIN_LINK_EDIT_RECEIPT_ITEM_TITLE}">
+ <f:param name="receiptId" value="#{receiptItem.itemId}" />
+ </p:link>
- <li class="navlink-mini">
- <p:link outcome="admin_delete_receipt_item">
- <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{project.ADMIN_LINK_DELETE_RECEIPT_ITEM_TITLE}" />
- <f:param name="receiptId" value="#{receiptItem.itemId}" />
- </p:link>
- </li>
- </ul>
- </ui:fragment>
+ <p:link outcome="admin_delete_receipt_item">
+ <h:outputText styleClass="link-danger" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{project.ADMIN_LINK_DELETE_RECEIPT_ITEM_TITLE}" />
+ <f:param name="receiptId" value="#{receiptItem.itemId}" />
+ </p:link>
+ </p:menuButton>
</ui:composition>
xmlns:p="http://primefaces.org/ui"
>
- <p:submenu label="#{project.ADMIN_MENU_RECEIPTS_TITLE}">
+ <p:submenu label="#{project.ADMIN_MENU_RECEIPTS_TITLE}" expanded="false">
<p:menuitem title="#{project.ADMIN_LINK_LIST_RECEIPTS_TITLE}" outcome="admin_list_receipts" value="#{project.ADMIN_LINK_LIST_RECEIPTS}" />
<p:menuitem title="#{project.ADMIN_LINK_LIST_RECEIPT_ITEMS_TITLE}" outcome="admin_list_receipt_items" value="#{project.ADMIN_LINK_LIST_RECEIPT_ITEMS}" />
</p:submenu>
- <p:submenu label="#{project.ADMIN_MENU_PRODUCTS_CATEGORIES_TITLE}">
+ <p:submenu label="#{project.ADMIN_MENU_PRODUCTS_CATEGORIES_TITLE}" expanded="false">
<p:menuitem title="#{project.ADMIN_LINK_LIST_GENERIC_PRODUCTS_TITLE}" outcome="admin_list_product" value="#{project.ADMIN_LINK_LIST_GENERIC_PRODUCTS}" />
<p:menuitem title="#{project.ADMIN_LINK_LIST_CATEGORIES_TITLE}" outcome="admin_list_category" value="#{project.ADMIN_LINK_LIST_CATEGORIES}" />
</p:submenu>