Commit bb71f7db3f15902a13333d60e2b89d50e72315bc
Committed by
Braulio Bhavamitra
1 parent
2f07775b
Exists in
master
and in
9 other branches
Add 'love' icon
Showing
4 changed files
with
8 additions
and
3 deletions
Show diff stats
app/views/blocks/profile_info_actions/_enterprise.html.erb
1 | 1 | <ul> |
2 | 2 | <%if logged_in? %> |
3 | 3 | <%if !user.favorite_enterprises.include?(profile) %> |
4 | - <li><%= button(:add, _('Add as favorite'), { :profile => user.identifier, :controller => 'favorite_enterprises', :action => 'add', :id => profile.id }, :title => _('Add enterprise as favorite')) %></li> | |
4 | + <li><%= button(:love, _('Add as favorite'), { profile: user.identifier, controller: 'favorite_enterprises', action: 'add', id: profile.id }, title: _('Add enterprise as favorite')) %></li> | |
5 | 5 | <% end %> |
6 | 6 | <% end %> |
7 | 7 | <% if profile.enable_contact? %> | ... | ... |
po/pt/noosfero.po
... | ... | @@ -8077,11 +8077,11 @@ msgstr "Enviar e-mail para os administradores" |
8077 | 8077 | |
8078 | 8078 | #: app/views/blocks/profile_info_actions/_enterprise.html.erb:4 |
8079 | 8079 | msgid "Add as favorite" |
8080 | -msgstr "Adicionar favorito" | |
8080 | +msgstr "Favoritar" | |
8081 | 8081 | |
8082 | 8082 | #: app/views/blocks/profile_info_actions/_enterprise.html.erb:4 |
8083 | 8083 | msgid "Add enterprise as favorite" |
8084 | -msgstr "Editar empreendimento como favorito" | |
8084 | +msgstr "Adicionar empreendimento como um de seus favoritos" | |
8085 | 8085 | |
8086 | 8086 | #: app/views/blocks/profile_info_actions/_person.html.erb:6 |
8087 | 8087 | #: app/views/profile/_private_profile.html.erb:13 | ... | ... |
public/designs/icons/awesome/style.scss
public/designs/icons/tango/style.css
... | ... | @@ -111,6 +111,7 @@ |
111 | 111 | |
112 | 112 | .icon-activate-user { background-image: url(Tango/16x16/emblems/emblem-system.png) } |
113 | 113 | .icon-deactivate-user { background-image: url(Tango/16x16/emblems/emblem-unreadable.png) } |
114 | +.icon-love { background-image: url(Tango/16x16/emblems/emblem-favorite.png) } | |
114 | 115 | .icon-set-admin-role { background-image: url(mod/16x16/apps/user.png) } |
115 | 116 | .icon-reset-admin-role { background-image: url(../../../images/icons-app/person-icon.png) } |
116 | 117 | .icon-clock { background-image: url(Tango/16x16/actions/appointment.png) } | ... | ... |