Commit cc15c2d59d887a68f276e0cde898bce5dc0a3136
1 parent
95c05f67
Exists in
master
and in
5 other branches
Change software acronym to short name in views
Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com>
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
views/profile/_software_tab.html.erb
@@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
11 | <%= content_tag('tr', content_tag('td', _("Internacionalizable:")) + content_tag('td', profile.software_info.intern ? _("Yes") : _("No"))) %> | 11 | <%= content_tag('tr', content_tag('td', _("Internacionalizable:")) + content_tag('td', profile.software_info.intern ? _("Yes") : _("No"))) %> |
12 | <%= display_mpog_field(_('Operating Platform:'), profile.software_info, :operating_platform, true) %> | 12 | <%= display_mpog_field(_('Operating Platform:'), profile.software_info, :operating_platform, true) %> |
13 | <%= display_mpog_field(_('Demonstration URL:'), profile.software_info, :demonstration_url, true) %> | 13 | <%= display_mpog_field(_('Demonstration URL:'), profile.software_info, :demonstration_url, true) %> |
14 | - <%= display_mpog_field(_('Acronym:'), profile.software_info, :acronym, true) %> | 14 | + <%= display_mpog_field(_('Short Name:'), profile.software_info, :acronym, true) % |
15 | <%= display_mpog_field(_('Objectives:'), profile.software_info, :objectives, true) %> | 15 | <%= display_mpog_field(_('Objectives:'), profile.software_info, :objectives, true) %> |
16 | <%= display_mpog_field(_('Features:'), profile.software_info, :features, true) %> | 16 | <%= display_mpog_field(_('Features:'), profile.software_info, :features, true) %> |
17 | 17 |
views/software_communities_plugin_myprofile/_main_software_editor_extras.html.erb
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | <%= text_field_tag("community[name]", @profile.name) %> | 3 | <%= text_field_tag("community[name]", @profile.name) %> |
4 | </div> | 4 | </div> |
5 | 5 | ||
6 | -<h3> <%= _("Acronym") %> </h3> | 6 | +<h3> <%= _("Short Name") %> </h3> |
7 | <div id="acronym"> | 7 | <div id="acronym"> |
8 | <%= text_field_tag("software[acronym]", @profile.software_info.acronym, :maxlength=>"10") %> | 8 | <%= text_field_tag("software[acronym]", @profile.software_info.acronym, :maxlength=>"10") %> |
9 | </div> | 9 | </div> |