Commit 3d405423a6156ae2a4d23d8ac2b468cbd85eea27
1 parent
f0f9d940
Exists in
staging
and in
4 other branches
#community dashboard - fixes
Showing
3 changed files
with
6 additions
and
16 deletions
Show diff stats
plugins/community_hub/public/style.css
@@ -78,7 +78,7 @@ clear: both; | @@ -78,7 +78,7 @@ clear: both; | ||
78 | font-weight: bold; | 78 | font-weight: bold; |
79 | float: left; | 79 | float: left; |
80 | display: inline-block; | 80 | display: inline-block; |
81 | - line-height: 20px; | 81 | + line-height: 16px; |
82 | margin-right: 5px; | 82 | margin-right: 5px; |
83 | } | 83 | } |
84 | 84 | ||
@@ -107,6 +107,7 @@ clear: both; | @@ -107,6 +107,7 @@ clear: both; | ||
107 | 107 | ||
108 | .hub .mediation-bar ul li.pin{ | 108 | .hub .mediation-bar ul li.pin{ |
109 | height: 25px; | 109 | height: 25px; |
110 | + margin-right: 10px; | ||
110 | } | 111 | } |
111 | 112 | ||
112 | .hub .remove{} | 113 | .hub .remove{} |
plugins/community_hub/views/community_hub_plugin_public/_mediation.rhtml
@@ -13,18 +13,18 @@ | @@ -13,18 +13,18 @@ | ||
13 | <ul> | 13 | <ul> |
14 | 14 | ||
15 | <li class="promote"> | 15 | <li class="promote"> |
16 | - <% if !promoted?(hub, mediation.author.id) %> | 16 | + <% if promoted?(hub, mediation.author.id) %> |
17 | <a id="<%= mediation.id %>" href="#" onclick="promote_user(<%= mediation.author.id %>); return false;"> | 17 | <a id="<%= mediation.id %>" href="#" onclick="promote_user(<%= mediation.author.id %>); return false;"> |
18 | - <img class="promoted" src="/plugins/community_hub/icons/hub-promote-icon.png" /> | 18 | + <img class="promoted" src="/plugins/community_hub/icons/hub-promote-icon.png" title="<%= _("User promoted") %>" /> |
19 | </a> | 19 | </a> |
20 | <% else %> | 20 | <% else %> |
21 | - <img class="not-promoted" src="/plugins/community_hub/icons/hub-not-promote-icon.png" /> | 21 | + <img class="not-promoted" src="/plugins/community_hub/icons/hub-not-promote-icon.png" title="<%= _("User not promoted") %>" /> |
22 | <% end %> | 22 | <% end %> |
23 | </li> | 23 | </li> |
24 | 24 | ||
25 | <% if pinned_mediation?(hub, mediation.id) %> | 25 | <% if pinned_mediation?(hub, mediation.id) %> |
26 | <li class="pin"> | 26 | <li class="pin"> |
27 | - <img class="pinned" src="/plugins/community_hub/icons/hub-not-pinned-icon.png" /> | 27 | + <img class="pinned" src="/plugins/community_hub/icons/hub-not-pinned-icon.png" title="<%= _("Message pinned")%>" /> |
28 | </li> | 28 | </li> |
29 | <% end %> | 29 | <% end %> |
30 | 30 |
plugins/community_hub/views/community_hub_plugin_public/_post.rhtml
@@ -16,17 +16,7 @@ | @@ -16,17 +16,7 @@ | ||
16 | 16 | ||
17 | <% if mediator?(hub) && post.title != 'hub-message-twitter' && post.title != 'hub-message-facebook' %> | 17 | <% if mediator?(hub) && post.title != 'hub-message-twitter' && post.title != 'hub-message-facebook' %> |
18 | <li class="mediation-bar"> | 18 | <li class="mediation-bar"> |
19 | - | ||
20 | <ul> | 19 | <ul> |
21 | - <li class="promote"> | ||
22 | - <% if promoted?(hub, post.author.id) == 'promoted' %> | ||
23 | - <a id="<%= post.id %>" href="#" onclick="pin_message(<%= post.id %>); return false;"> | ||
24 | - <img class="promoted" src="/plugins/community_hub/icons/hub-promote-icon.png" /> | ||
25 | - </a> | ||
26 | - <% else %> | ||
27 | - <img class="not-promoted" src="/plugins/community_hub/icons/hub-not-promote-icon.png" /> | ||
28 | - <% end %> | ||
29 | - </li> | ||
30 | <li class="pin"> | 20 | <li class="pin"> |
31 | <% if !pinned_message?(hub, post.id) %> | 21 | <% if !pinned_message?(hub, post.id) %> |
32 | <a id="<%= post.id %>" href="#" onclick="pin_message(<%= post.id %>); return false;"> | 22 | <a id="<%= post.id %>" href="#" onclick="pin_message(<%= post.id %>); return false;"> |
@@ -37,7 +27,6 @@ | @@ -37,7 +27,6 @@ | ||
37 | <% end %> | 27 | <% end %> |
38 | </li> | 28 | </li> |
39 | </ul> | 29 | </ul> |
40 | - | ||
41 | </li> | 30 | </li> |
42 | <% end %> | 31 | <% end %> |
43 | 32 |