From cc15c2d59d887a68f276e0cde898bce5dc0a3136 Mon Sep 17 00:00:00 2001 From: Luciano Prestes Cavalcanti Date: Tue, 17 Mar 2015 10:56:45 -0300 Subject: [PATCH] Change software acronym to short name in views --- views/profile/_software_tab.html.erb | 2 +- views/software_communities_plugin_myprofile/_main_software_editor_extras.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/views/profile/_software_tab.html.erb b/views/profile/_software_tab.html.erb index 0f7a3ca..2b104df 100644 --- a/views/profile/_software_tab.html.erb +++ b/views/profile/_software_tab.html.erb @@ -11,7 +11,7 @@ <%= content_tag('tr', content_tag('td', _("Internacionalizable:")) + content_tag('td', profile.software_info.intern ? _("Yes") : _("No"))) %> <%= display_mpog_field(_('Operating Platform:'), profile.software_info, :operating_platform, true) %> <%= display_mpog_field(_('Demonstration URL:'), profile.software_info, :demonstration_url, true) %> - <%= display_mpog_field(_('Acronym:'), profile.software_info, :acronym, true) %> + <%= display_mpog_field(_('Short Name:'), profile.software_info, :acronym, true) % <%= display_mpog_field(_('Objectives:'), profile.software_info, :objectives, true) %> <%= display_mpog_field(_('Features:'), profile.software_info, :features, true) %> diff --git a/views/software_communities_plugin_myprofile/_main_software_editor_extras.html.erb b/views/software_communities_plugin_myprofile/_main_software_editor_extras.html.erb index 0833af8..ab7f1b9 100644 --- a/views/software_communities_plugin_myprofile/_main_software_editor_extras.html.erb +++ b/views/software_communities_plugin_myprofile/_main_software_editor_extras.html.erb @@ -3,7 +3,7 @@ <%= text_field_tag("community[name]", @profile.name) %> -

<%= _("Acronym") %>

+

<%= _("Short Name") %>

<%= text_field_tag("software[acronym]", @profile.software_info.acronym, :maxlength=>"10") %>
-- libgit2 0.21.2