allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [05/18] allura git commit: [#8088] Rebased to remove bad commit, Added tooltips to buttons
Date Wed, 13 Jul 2016 19:30:02 GMT
[#8088] Rebased to remove bad commit, Added tooltips to buttons


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/ee60af24
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/ee60af24
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/ee60af24

Branch: refs/heads/master
Commit: ee60af2425dd640388880c60204b604f4a0b523d
Parents: 3ebe0fe
Author: Rohan Verma <rohanverma2004@gmail.com>
Authored: Fri Jun 24 20:05:37 2016 +0530
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Wed Jul 13 15:03:29 2016 -0400

----------------------------------------------------------------------
 Allura/allura/templates/widgets/moderate_post.html | 6 +++---
 Allura/allura/templates/widgets/post_widget.html   | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/ee60af24/Allura/allura/templates/widgets/moderate_post.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/widgets/moderate_post.html b/Allura/allura/templates/widgets/moderate_post.html
index 9c507e4..f57648a 100644
--- a/Allura/allura/templates/widgets/moderate_post.html
+++ b/Allura/allura/templates/widgets/moderate_post.html
@@ -19,20 +19,20 @@
 {% import 'allura:templates/jinja_master/lib.html' as lib with context %}
 <form method="POST" action="{{action}}">
     <input type="hidden" name="delete" value="True"/>
-    <a href="" class="moderate_post delete little_link icon btn ui-button ui-widget ui-state-default
ui-corner-all ui-button-text-only"><span><i class="fa fa-trash-o fa-lg"></i></span></a>
+    <a href="" title="Delete" class="moderate_post delete little_link icon btn ui-button
ui-widget ui-state-default ui-corner-all ui-button-text-only"><span><i class="fa
fa-trash-o fa-lg"></i></span></a>
     {{lib.csrf_token()}}
 </form>
 {%if status == 'pending'%}
     <form method="POST" class="moderate_approve" action="{{action}}">
         <input type="hidden" name="approve" value="True"/>
-        <a href="" class="moderate_post approve little_link icon btn ui-button ui-widget
ui-state-default ui-corner-all ui-button-text-only"><span><i class="fa fa-check"
aria-hidden="true"></i>
+        <a href="" title="Approve" class="moderate_post approve little_link icon btn ui-button
ui-widget ui-state-default ui-corner-all ui-button-text-only"><span><i class="fa
fa-check" aria-hidden="true"></i>
  Approve</span></a>
         {{lib.csrf_token()}}
     </form>
 {%endif%}
     <form method="POST" class="moderate_spam" action="{{action}}">
         <input type="hidden" name="spam" value="True"/>
-        <a href="" class="moderate_post spam little_link icon btn ui-button ui-widget
ui-state-default ui-corner-all ui-button-text-only"><span><i class="fa fa-exclamation"
aria-hidden="true"></i></span></a>
+        <a href="" title="Mark as Spam" class="moderate_post spam little_link icon btn
ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"><span><i
class="fa fa-exclamation" aria-hidden="true"></i></span></a>
         {{lib.csrf_token()}}
     </form>
 <br/>

http://git-wip-us.apache.org/repos/asf/allura/blob/ee60af24/Allura/allura/templates/widgets/post_widget.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/widgets/post_widget.html b/Allura/allura/templates/widgets/post_widget.html
index b79e989..fd7ef4d 100644
--- a/Allura/allura/templates/widgets/post_widget.html
+++ b/Allura/allura/templates/widgets/post_widget.html
@@ -60,11 +60,11 @@
             {% if h.has_access(value.thread, 'post')() %}
                 <a class="icon reply_post btn" href="#" style="" title="Reply" role="button"><span
class="ui-button-text"><i class="fa fa-reply"></i></span></a>
             {% endif %}
-            <a href="{{shortlink_url}}" class="icon btn ui-button ui-widget ui-state-default
ui-corner-all ui-button-text-only"{%if value.status == 'pending'%} style="display:none"{%endif%}>
+            <a href="{{shortlink_url}}" title="Shortlink" class="little_link shortlink
icon btn ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"{%if value.status
== 'pending'%} style="display:none"{%endif%}>
               <span><i class="fa fa-link" aria-hidden="true"></i></span></a>
 
             {% if h.has_access(value, 'moderate')()%}
-                <a href="#" class="icon btn ui-button ui-widget ui-state-default ui-corner-all
ui-button-text-only edit_post little_link"><span><i class="fa fa-pencil" aria-hidden="true"></i></span></a>
+                <a href="#" title="Edit" class="icon btn ui-button ui-widget ui-state-default
ui-corner-all ui-button-text-only edit_post little_link"><span><i class="fa fa-pencil"
aria-hidden="true"></i></span></a>
             {% endif %}
 
                 {% if h.has_access(value.thread, 'moderate')() %}


Mime
View raw message