roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [roller] branch master updated: Entries page: move delete column to far right, add tooltips for edit and delete glyphs.
Date Sat, 31 Aug 2019 13:03:19 GMT
This is an automated email from the ASF dual-hosted git repository.

snoopdave pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/roller.git


The following commit(s) were added to refs/heads/master by this push:
     new ca5cbe2  Entries page: move delete column to far right, add tooltips for edit and
delete glyphs.
     new c59a571  Merge branch 'master' of https://github.com/apache/roller
ca5cbe2 is described below

commit ca5cbe26285c3814da4cd1db576c2b2b2135d167
Author: David M. Johnson <snoopdave@apache.org>
AuthorDate: Sat Aug 31 09:02:50 2019 -0400

    Entries page: move delete column to far right, add tooltips for edit and delete glyphs.
---
 .../main/webapp/WEB-INF/jsps/editor/Entries.jsp    | 29 ++++++++++++++--------
 1 file changed, 18 insertions(+), 11 deletions(-)

diff --git a/app/src/main/webapp/WEB-INF/jsps/editor/Entries.jsp b/app/src/main/webapp/WEB-INF/jsps/editor/Entries.jsp
index 6374a79..288fb65 100644
--- a/app/src/main/webapp/WEB-INF/jsps/editor/Entries.jsp
+++ b/app/src/main/webapp/WEB-INF/jsps/editor/Entries.jsp
@@ -64,7 +64,6 @@
 
 <tr>
     <th class="rollertable" width="5%"> </th>
-    <th class="rollertable" width="5%"> </th>
     <th class="rollertable" width="5%">
         <s:text name="weblogEntryQuery.pubTime" />
     </th>
@@ -74,9 +73,10 @@
     <th class="rollertable">
         <s:text name="weblogEntryQuery.title" />
     </th>
-    <th class="rollertable" width="5%">
+    <th class="rollertable" width="15%">
         <s:text name="weblogEntryQuery.category" />
     </th>
+    <th class="rollertable" width="5%"> </th>
 </tr>
 
 <s:iterator var="post" value="pager.items">
@@ -99,18 +99,14 @@
             <s:param name="weblog" value="%{actionWeblog.handle}" />
             <s:param name="bean.id" value="#post.id" />
         </s:url>
-        <s:a href="%{editUrl}"><span class="glyphicon glyphicon-edit"></s:a>
+        <s:a href="%{editUrl}">
+            <span class="glyphicon glyphicon-edit" data-toggle="tooltip" data-placement="top"
+                  title="<s:text name='generic.edit'/>">
+            </span>
+        </s:a>
     </td>
 
     <td>
-        <s:set var="postId" value="#post.id" />
-        <s:set var="postTitle" value="#post.title" />
-        <a href="#" 
-            onclick="showDeleteModal('<s:property value="postId" />', '<s:property
value="postTitle"/>' )"> 
-            <span class="glyphicon glyphicon-trash"></span></a>
-    </td>
-    
-    <td>
         <s:if test="#post.pubTime != null">
             <s:text name="weblogEntryQuery.date.toStringFormat">
                 <s:param value="#post.pubTime" />
@@ -141,6 +137,17 @@
         <s:property value="#post.category.name" />
     </td>
 
+    <td>
+        <s:set var="postId" value="#post.id" />
+        <s:set var="postTitle" value="#post.title" />
+        <a href="#"
+            onclick="showDeleteModal('<s:property value="postId" />', '<s:property
value="postTitle"/>' )">
+            <span class="glyphicon glyphicon-trash"
+                  data-toggle="tooltip" data-placement="top" title="<s:text name='generic.delete'/>">
+            </span>
+        </a>
+    </td>
+
     </tr>
 </s:iterator>
 


Mime
View raw message