Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename column header in Container Template screen #1147

Merged
merged 1 commit into from May 25, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 @@
%small= _("*The values above may contain variable parameters that are filled in at instantiation.")