Skip to content

Commit

Permalink
Rename column header in Container Template screen
Browse files Browse the repository at this point in the history
  • Loading branch information
zakiva committed May 1, 2017
1 parent 983abc6 commit 864ed33
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/container_template_controller.rb
Expand Up @@ -9,7 +9,7 @@ class ContainerTemplateController < ApplicationController
private

def textual_group_list
[%i(properties objects parameters), %i(relationships container_labels smart_management)]
[%i(properties parameters objects), %i(relationships container_labels smart_management)]
end
helper_method :textual_group_list

Expand Down
2 changes: 1 addition & 1 deletion app/helpers/container_template_helper/textual_summary.rb
Expand Up @@ -18,7 +18,7 @@ def textual_group_smart_management
end

def textual_group_objects
labels = [_("Kind"), _("Name")]
labels = [_("Kind"), _("Name*")]
values = @record.objects.collect { |obj| [obj[:kind], obj[:metadata][:name] || obj[:metadata][:generateName]] }
TextualMultilabel.new(_("Objects"), :labels => labels, :values => values)
end
Expand Down
1 change: 1 addition & 0 deletions app/views/container_template/show.html.haml
Expand Up @@ -2,3 +2,4 @@
= render :partial => "layouts/gtl", :locals => {:action_url => "show/#{@record.id}"}
- elsif @showtype == 'main'
= render :partial => "layouts/textual_groups_generic"
= render :partial => "layouts/container_template_note"
1 change: 1 addition & 0 deletions app/views/layouts/_container_template_note.html.haml
@@ -0,0 +1 @@
%h4=_("*The values above may contain variable parameters that are filled in at instantiation.")

0 comments on commit 864ed33

Please sign in to comment.