base/app/views/permissions/_index.html.erb in social_stream-2.0.0.beta3 vs base/app/views/permissions/_index.html.erb in social_stream-2.0.0
- old
+ new
@@ -8,10 +8,10 @@
<ul>
<% default_permissions.each do |p| %>
<li>
<%= check_box_tag 'relation_custom[permission_ids][]', p.id, @relation.permission_ids.include?(p.id), id: "checkbox_relation_#{ @relation.id }_permission_#{ p.id }" %>
- <%= label_tag "checkbox_relation_#{ @relation.id }_permission_#{ p.id }", p.description(:brief, subject: current_subject) %>
+ <%= label_tag "checkbox_relation_#{ @relation.id }_permission_#{ p.id }", p.description(:brief, subject: current_subject), title: p.description(:detailed, subject: current_subject, state: (@relation.permission_ids.include?(p.id) ? 'positive' : 'negative'), relation: @relation.name) %>
</li>
<% end %>
</ul>
<% end %>
</article>