Commit e3871694133e2a894dfa56d5ef755afa267fbbb7
Committed by
Thiago Ribeiro
1 parent
655df80b
Exists in
refactor_software_info_365
Remove unused software editor extras partial
Signed-off-by: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com> Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com>
Showing
1 changed file
with
0 additions
and
32 deletions
Show diff stats
views/_main_software_editor_extras.html.erb
@@ -1,32 +0,0 @@ | @@ -1,32 +0,0 @@ | ||
1 | -<h2><%= _('Software Information') %></h2> | ||
2 | - | ||
3 | -<%= label_tag("name", _('Name'), {:class => 'formlabel'}) %> | ||
4 | - | ||
5 | -<div id='software-name-field' class='formfield'> | ||
6 | - <span id='software-hostname'><%= context.profile.environment.default_hostname %>/</span> | ||
7 | - <%= text_field_tag(:name, context.profile.software_info.community.name) %> | ||
8 | -</div> | ||
9 | - | ||
10 | -<h3> <%= _("Finality") %> </h3> | ||
11 | -<div id="finality"> | ||
12 | - <%= text_field_tag(:finality, context.profile.software_info.finality) %> | ||
13 | -</div> | ||
14 | - | ||
15 | -<h3> <%= _("Licenses") %> </h3> | ||
16 | -<div id='licenses'> | ||
17 | - <%= select_tag(:id, options_for_select(LicenseHelper.getListLicenses.collect{|l| [l.version, l.id]}, :selected => context.profile.software_info.license_info.id), :onchange => "get_license_link('version')") %> | ||
18 | - <br /> | ||
19 | - | ||
20 | - <h4> <%= _("License link") %> </h4> | ||
21 | - <% LicenseHelper.getListLicenses.each do | license | %> | ||
22 | - <input type="hidden" id = "version_<%=license.id %>" value = "<%=license.link%>"> | ||
23 | - <% end %> | ||
24 | - | ||
25 | - <a id = "version_link" href="<%= context.profile.software_info.license_info.link %>" target="BLANK"> <%= context.profile.software_info.license_info.link %> </a> | ||
26 | -</div> | ||
27 | - | ||
28 | -<div class="formfieldline formfield type-text"> | ||
29 | - <%= label_tag "repository_url", _("Link to Repository: ") %> | ||
30 | - <%= text_field_tag(:reository_url) %> | ||
31 | -</div> | ||
32 | - |