[TASK] EXT:sys_note: Button order 47/49647/2
authorDaniel Windloff <daniel.jc.windloff@googlemail.com>
Tue, 30 Aug 2016 11:44:32 +0000 (13:44 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Tue, 30 Aug 2016 19:18:28 +0000 (21:18 +0200)
In order to be consistent with list module,
change the order of the buttons to (edit,remove).

Resolves: #77690
Releases: master, 7.6
Change-Id: I6d9edb79c0533020713bcf075ee2df281dbc0136
Reviewed-on: https://review.typo3.org/49647
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/sys_note/Resources/Private/Templates/Note/List.html

index f2e1b82..2647152 100644 (file)
                                                </f:if>
 
                                                <div class="btn-group pull-right">
-                                                       <a href="{notes:deleteLink(id:note.uid)}" class="btn btn-default btn-sm t3js-modal-trigger" data-severity="warning" data-title="{f:translate(key: 'LLL:EXT:lang/locallang_common.xlf:delete')}" data-content="{f:translate(key: 'LLL:EXT:lang/locallang_alt_doc.xlf:deleteWarning')}" data-button-close-text="{f:translate(key: 'LLL:EXT:lang/locallang_common.xlf:cancel')}">
-                                                               <core:icon identifier="actions-edit-delete" />
-                                                       </a>
                                                        <a href="{notes:editLink(id:note.uid)}" class="btn btn-default btn-sm">
                                                                <core:icon identifier="actions-document-open" />
                                                        </a>
+                                                       <a href="{notes:deleteLink(id:note.uid)}" class="btn btn-default btn-sm t3js-modal-trigger" data-severity="warning" data-title="{f:translate(key: 'LLL:EXT:lang/locallang_common.xlf:delete')}" data-content="{f:translate(key: 'LLL:EXT:lang/locallang_alt_doc.xlf:deleteWarning')}" data-button-close-text="{f:translate(key: 'LLL:EXT:lang/locallang_common.xlf:cancel')}">
+                                                               <core:icon identifier="actions-edit-delete" />
+                                                       </a>
                                                </div>
                                        </div>
                                        <div class="panel-body">