Commit 2fa3b7b270a62e9d435d5a186e12cf64a3d3d93a
Committed by
Álvaro Fernando Matos de Souza
1 parent
2f6ee081
Exists in
master
and in
5 other branches
Adding tooltip title and absent comments display
Signed-off-by: Fabio Teixeira <fabio1079@gmail.com> Signed-off-by: Pedro de Lyra Pereira <pedrodelyra@gmail.com>
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
views/comments_extra_fields.html.erb
... | ... | @@ -9,13 +9,13 @@ |
9 | 9 | <div class="comments-software-extra-fields"> |
10 | 10 | <div class="comments-software-people-benefited"> |
11 | 11 | <%= label_tag "comments_people_benefited", _("Number of Beneficiaries")%> |
12 | - <span class="star-tooltip"></span> | |
12 | + <span class="star-tooltip" title="Digite o número de beneficiados"></span> | |
13 | 13 | <%= text_field_tag "comments[people_benefited]", "" %> |
14 | 14 | </div> |
15 | 15 | |
16 | 16 | <div class="comments-software-saved-values"> |
17 | 17 | <%= label_tag "comments_saved_value", _("Saved resources")%> |
18 | - <span class="star-tooltip"></span> | |
18 | + <span class="star-tooltip" title="Digite a quantidade de recursos economizados"></span> | |
19 | 19 | <%= text_field_tag "comments[saved_value]", "", :placeholder=>"R$"%> |
20 | 20 | </div> |
21 | 21 | </div> | ... | ... |
views/communities_ratings_extra_fields_show_data.html.erb
1 | 1 | <div class="aditional-informations"> |
2 | 2 | <div class="comments-people-benefited"> |
3 | - <span>People benefited :</span> <%= user_rating.comment.people_benefited %> | |
3 | + <span>People benefited :</span> <%= user_rating.comment.people_benefited unless user_rating.comment.nil? %> | |
4 | 4 | </div> |
5 | 5 | |
6 | 6 | <div class="comments-saved-value"> |
7 | - <span>Saved Value :</span> <%= user_rating.comment.saved_value %> | |
7 | + <span>Saved Value :</span> <%= user_rating.comment.saved_value unless user_rating.comment.nil? %> | |
8 | 8 | </div> |
9 | 9 | </div> |
10 | 10 | ... | ... |