[TASK] Uppercase partial templates in ext:workspaces 91/43391/3
authorWouter Wolters <typo3@wouterwolters.nl>
Thu, 17 Sep 2015 10:30:29 +0000 (12:30 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 17 Sep 2015 16:43:12 +0000 (18:43 +0200)
Resolves: #69913
Releases: master
Change-Id: I6619fd0334d7c5b850e4d573a56348c5b72a9b07
Reviewed-on: http://review.typo3.org/43391
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/workspaces/Resources/Private/Partials/Legend.html [new file with mode: 0644]
typo3/sysext/workspaces/Resources/Private/Partials/Navigation.html [new file with mode: 0644]
typo3/sysext/workspaces/Resources/Private/Partials/legend.html [deleted file]
typo3/sysext/workspaces/Resources/Private/Partials/navigation.html [deleted file]

diff --git a/typo3/sysext/workspaces/Resources/Private/Partials/Legend.html b/typo3/sysext/workspaces/Resources/Private/Partials/Legend.html
new file mode 100644 (file)
index 0000000..9accc01
--- /dev/null
@@ -0,0 +1,8 @@
+<dl class="legend">
+       <dt><f:translate key="legend.label" /></dt>
+       <dd><span class="item-state-modified"><f:translate key="legend.edited" /></span>&nbsp;&nbsp;&bull;&nbsp;</dd>
+       <dd><span class="item-state-moved"><f:translate key="legend.moved" /></span>&nbsp;&nbsp;&bull;&nbsp;</dd>
+       <dd><span class="item-state-new"><f:translate key="legend.new" /></span>&nbsp;&nbsp;&bull;&nbsp;</dd>
+       <dd><span  class="item-state-hidden"><f:translate key="legend.hidden" /></span>&nbsp;&nbsp;&bull;&nbsp;</dd>
+       <dd><span class="item-state-deleted"><f:translate key="legend.deleted" /></span></dd>
+</dl>
\ No newline at end of file
diff --git a/typo3/sysext/workspaces/Resources/Private/Partials/Navigation.html b/typo3/sysext/workspaces/Resources/Private/Partials/Navigation.html
new file mode 100644 (file)
index 0000000..d7af392
--- /dev/null
@@ -0,0 +1,34 @@
+<ul class="x-tab-strip x-tab-strip-top">
+       <f:for each="{workspaceList}" as="workspace" key="uid">
+               <f:if condition="{uid}=={activeWorkspaceUid}">
+                       <f:then>
+                               <li class="x-tab-strip-active x-tab-strip-closable">
+                                       <span class="x-tab-right">
+                                               <em class="x-tab-left"><span class="x-tab-strip-inner"><span class="x-tab-strip-text">{workspace}</span></span></em>
+                                       </span>
+                               </li>
+                       </f:then>
+                       <f:else>
+                               <li class="x-tab-strip-closable">
+                                       <f:link.action controller="Review" action="index" additionalParams="{workspace:uid}" class="x-tab-right">
+                                               <em class="x-tab-left"><span class="x-tab-strip-inner"><span class="x-tab-strip-text">{workspace}</span></span></em>
+                                       </f:link.action>
+                               </li>
+                       </f:else>
+               </f:if>
+       </f:for>
+       <f:if condition="{showAllWorkspaceTab}">
+               <li class="last {f:if(condition: '-98=={activeWorkspaceUid}', then: 'x-tab-strip-active')}">
+                       <f:link.action controller="Review" action="fullIndex" class="x-tab-right">
+                               <em class="x-tab-left">
+                                       <span class="x-tab-strip-inner">
+                                               <span class="x-tab-strip-text">
+                                                       All
+                                               </span>
+                                       </span>
+                               </em>
+                       </f:link.action>
+               </li>
+       </f:if>
+       <div class="x-clear"></div>
+ </ul>
diff --git a/typo3/sysext/workspaces/Resources/Private/Partials/legend.html b/typo3/sysext/workspaces/Resources/Private/Partials/legend.html
deleted file mode 100644 (file)
index 9accc01..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<dl class="legend">
-       <dt><f:translate key="legend.label" /></dt>
-       <dd><span class="item-state-modified"><f:translate key="legend.edited" /></span>&nbsp;&nbsp;&bull;&nbsp;</dd>
-       <dd><span class="item-state-moved"><f:translate key="legend.moved" /></span>&nbsp;&nbsp;&bull;&nbsp;</dd>
-       <dd><span class="item-state-new"><f:translate key="legend.new" /></span>&nbsp;&nbsp;&bull;&nbsp;</dd>
-       <dd><span  class="item-state-hidden"><f:translate key="legend.hidden" /></span>&nbsp;&nbsp;&bull;&nbsp;</dd>
-       <dd><span class="item-state-deleted"><f:translate key="legend.deleted" /></span></dd>
-</dl>
\ No newline at end of file
diff --git a/typo3/sysext/workspaces/Resources/Private/Partials/navigation.html b/typo3/sysext/workspaces/Resources/Private/Partials/navigation.html
deleted file mode 100644 (file)
index d7af392..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<ul class="x-tab-strip x-tab-strip-top">
-       <f:for each="{workspaceList}" as="workspace" key="uid">
-               <f:if condition="{uid}=={activeWorkspaceUid}">
-                       <f:then>
-                               <li class="x-tab-strip-active x-tab-strip-closable">
-                                       <span class="x-tab-right">
-                                               <em class="x-tab-left"><span class="x-tab-strip-inner"><span class="x-tab-strip-text">{workspace}</span></span></em>
-                                       </span>
-                               </li>
-                       </f:then>
-                       <f:else>
-                               <li class="x-tab-strip-closable">
-                                       <f:link.action controller="Review" action="index" additionalParams="{workspace:uid}" class="x-tab-right">
-                                               <em class="x-tab-left"><span class="x-tab-strip-inner"><span class="x-tab-strip-text">{workspace}</span></span></em>
-                                       </f:link.action>
-                               </li>
-                       </f:else>
-               </f:if>
-       </f:for>
-       <f:if condition="{showAllWorkspaceTab}">
-               <li class="last {f:if(condition: '-98=={activeWorkspaceUid}', then: 'x-tab-strip-active')}">
-                       <f:link.action controller="Review" action="fullIndex" class="x-tab-right">
-                               <em class="x-tab-left">
-                                       <span class="x-tab-strip-inner">
-                                               <span class="x-tab-strip-text">
-                                                       All
-                                               </span>
-                                       </span>
-                               </em>
-                       </f:link.action>
-               </li>
-       </f:if>
-       <div class="x-clear"></div>
- </ul>