]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Don't cherry-pick:
authorRoland Häder <roland@mxchange.org>
Mon, 16 Jul 2018 20:57:28 +0000 (22:57 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 16 Jul 2018 20:59:53 +0000 (22:59 +0200)
- renamed *MiniLinks to *DropdownMenu as this is the actual purpose of the tag
- added missing i18n string

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/localization/project_de_DE.properties
src/java/org/mxchange/localization/project_en_US.properties
web/WEB-INF/project-links.jsf.taglib.xml
web/WEB-INF/resources/tags/admin/dropdown/financial/receipt_item/admin_receipt_item_links.tpl
web/admin/financial/receipt/admin_receipt_list.xhtml
web/admin/financial/receipt_item/admin_receipt_item_list.xhtml

index e6f8b4aabf3d3ffe40c9bd7900381dce66b547ec..d51c299efb2dcb3e4aa55bd7871392a048bdffe8 100644 (file)
@@ -373,3 +373,4 @@ ADMIN_ENTER_GENERIC_PRODUCT_BARCODE_NUMBER=Geben Sie die Balkencodenummer des Pr
 BARCODE_NUMBER_HEADER=Barcode-Nummer:
 PRODUCT_NO_BARCODE_NUMBER_ASSIGNED=Das Produkt hat keine Barcode-Nummer zugewiesen.
 PRODUCT_BARCODE_NUMBER_TITLE=Barcode Nummer des Produktes.
+RECEIPT_NUMBER=Kassenbonnummer
index ba1af22b593e59324b7ece13547af8cd90110332..13468d01314056d62053ddf5d5b681eb88c2f39e 100644 (file)
@@ -279,3 +279,4 @@ ADMIN_ENTER_GENERIC_PRODUCT_BARCODE_NUMBER=Enter product's barcode number:
 BARCODE_NUMBER_HEADER=Barcode number:
 PRODUCT_NO_BARCODE_NUMBER_ASSIGNED=Product has no bar-code number assigned.
 PRODUCT_BARCODE_NUMBER_TITLE=Bar-code number of product.
+RECEIPT_NUMBER=Receipt number
index 58a741d4332a01e45f303fb79949153699ca70e5..9cf9accb6e72dceca5527d2ea71ae329355e6461 100644 (file)
@@ -23,8 +23,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 >
        <namespace>http://mxchange.org/jsf/jfinancials/links</namespace>
        <tag>
-               <tag-name>outputReceiptAdminMiniLinks</tag-name>
-               <description>This tag renders a full h:panelGroup for administrative "mini-links" for receipt data.</description>
+               <tag-name>outputReceiptAdminDropdownMenu</tag-name>
+               <description>This tag renders a full h:panelGroup for an administrative drop-down menu for receipt data.</description>
                <source>resources/tags/admin/dropdown/financial/receipt/admin_receipt_links.tpl</source>
                <attribute>
                        <name>receipt</name>
@@ -46,8 +46,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
                </attribute>
        </tag>
        <tag>
-               <tag-name>outputReceiptItemAdminMiniLinks</tag-name>
-               <description>This tag renders a full h:panelGroup for administrative "mini-links" for receipt item data.</description>
+               <tag-name>outputReceiptItemAdminDropdownMenu</tag-name>
+               <description>This tag renders a full h:panelGroup for an administrative drop-down menu for receipt item data.</description>
                <source>resources/tags/admin/dropdown/financial/receipt_item/admin_receipt_item_links.tpl</source>
                <attribute>
                        <name>receiptItem</name>
index 4213ad1d3c14745427ad87c8115750d171771ab9..e3fd9ca6b2a9464fd35b37700f08e4aa19185b77 100644 (file)
@@ -8,17 +8,17 @@
        >
 
        <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}">
+               <p:menuitem 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>
+               </p:menuitem>
 
-               <p:link outcome="admin_edit_receipt_item" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{project.ADMIN_LINK_EDIT_RECEIPT_ITEM_TITLE}">
+               <p:menuitem 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>
+               </p:menuitem>
 
-               <p:link outcome="admin_delete_receipt_item">
+               <p:menuitem 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:menuitem>
        </p:menuButton>
 </ui:composition>
index c152a6cefcf964024d6257a85f9f24db935a166d..83d551ec53aab1769555464f62f3bfa0cd83cba0 100644 (file)
                                </p:column>
 
                                <p:column headerText="#{msg.ADMIN_ACTION_LINKS_HEADER}" sortable="false">
-                                       <pl:outputReceiptAdminMiniLinks receipt="#{receipt}" />
+                                       <pl:outputReceiptAdminDropdownMenu receipt="#{receipt}" />
                                </p:column>
                        </p:dataTable>
 
index a0758a7296b9d1d2729c94d6166a584c94037a69..b562b3e9601ba0352e4463eb5f43962f8068e48f 100644 (file)
                                </p:column>
 
                                <p:column headerText="#{msg.ADMIN_ACTION_LINKS_HEADER}" sortable="false">
-                                       <pl:outputReceiptItemAdminMiniLinks receiptItem="#{receiptItem}" />
+                                       <pl:outputReceiptItemAdminDropdownMenu receiptItem="#{receiptItem}" />
                                </p:column>
                        </p:dataTable>