improves activity styles

This commit is contained in:
Juanjo Bazán
2016-04-20 13:14:55 +02:00
parent e3bbce5bd4
commit a8bc3095b4
2 changed files with 12 additions and 6 deletions

View File

@@ -1743,19 +1743,24 @@ table {
}
}
&.activity-comments td:before {
&.activity-comments td:first-child:before {
content: "e";
top: 18px;
}
&.activity-debates td:before {
&.activity-debates td:first-child:before {
content: "i";
top: 14px;
}
&.activity-proposals td:before {
&.activity-proposals td:first-child:before {
content: "h";
top: 18px;
}
&.activity-investment-projects td:first-child:before {
content: "\53";
top: 10px;
}
}
}

View File

@@ -1,15 +1,16 @@
<table id="spending_proposals_list" class="clear activity-proposals">
<table id="spending_proposals_list" class="clear activity-investment-projects">
<% @spending_proposals.each do |spending_proposal| %>
<tr id="spending_proposal_<%= spending_proposal.id %>">
<td>
<%= link_to spending_proposal.title, spending_proposal %>
</td>
<td>
<% if can?(:destroy, spending_proposal) %>
<%= link_to t("users.show.delete_spending_proposal"),
spending_proposal,
method: :delete,
data: { confirm: t("users.show.confirm_deletion_spending_proposal") },
class: 'button small warning' %>
class: 'delete' %>
<% end %>
</td>
</tr>