dashboard.do_you_want_to_delete_dashboard=Do you want to delete this dashboard?
dashboard.available_dashboards=Available Dashboards
dashboard.shared_dashboards=Shared Dashboards
-dashboard.create_dashboard=New dashboard
+dashboard.new_dashboard=New dashboard
+dashboard.create_dashboard=Create dashboard
dashboard.create_project_dashboard=Create project dashboard
dashboard.create_global_dashboard=Create global dashboard
dashboard.edit_dashboard=Edit dashboard
dashboard.project_dashboards.description=These dashboards are displayed to anonymous users or users who have not customized their dashboards.
dashboard.shared_dashboards.description=These dashboards can be added to default dashboards.
dashboard.username.default=[SonarQube]
+dashboard.delete_confirm_title=Delete dashboard
+dashboard.delete_dashboard=Delete dashboard
#------------------------------------------------------------------------------
global_role.profileadmin=Quality Profile Administration
global_role.profileadmin.desc=Ability to perform any action on the quality profiles.
global_role.sharedashboard=Dashboard Sharing
-global_role.sharedashboard.desc=Ability to share eligible dashboards.
+global_role.sharedashboard.desc=Ability to share dashboards that any user will be able to follow.
#------------------------------------------------------------------------------
<% end %>
<fieldset>
<div class="modal-head">
- <h2><%= message('dashboard.create_dashboard') -%></h2>
+ <h2><%= message('dashboard.new_dashboard') -%></h2>
</div>
<div class="modal-body">
<% if @dashboard %>
- <% @dashboard.errors.each do |attr, msg| %>
- <p class="error"><%= h "#{attr} #{msg}" -%></p>
+ <% @dashboard.errors.full_messages.each do |msg| %>
+ <p class="error"><%= h msg -%></p>
<% end %>
<% end %>
<div class="modal-field">
<% end %>
</div>
<div class="modal-foot">
- <input type="submit" value="<%= h message('save') -%>" id="save-submit"/>
+ <input type="submit" value="<%= h message('dashboard.create_dashboard') -%>" id="save-submit"/>
<a href="#" onclick="return closeModalWindow()" id="save-cancel"><%= h message('cancel') -%></a>
</div>
</fieldset>
<h2><%= message 'dashboard.delete_confirm_title' -%></h2>
</div>
<div class="modal-body">
+ <% @dashboard.errors.full_messages.each do |msg| %>
+ <p class="error"><%= h msg -%></p>
+ <% end %>
<div class="info">
<img src="<%= ApplicationController.root_context -%>/images/information.png" style="vertical-align: text-bottom"/>
- <%= message 'dashboard.delete_confirm_message' -%>
+ <%= message 'dashboard.do_you_want_to_delete_dashboard' -%>
</div>
</div>
<div class="modal-foot">
- <input type="submit" value="<%= message 'dashboard.delete_confirm_button' -%>" id="confirm-submit"/>
+ <input type="submit" value="<%= message 'dashboard.delete_dashboard' -%>" id="confirm-submit"/>
<a href="#" onclick="return closeModalWindow()" id="confirm-cancel"><%= h message('cancel') -%></a>
</div>
</fieldset>
<h2><%= message('dashboard.edit_dashboard') -%></h2>
</div>
<div class="modal-body">
- <% @dashboard.errors.each do |attr, msg| %>
- <p class="error"><%= h "#{attr} #{msg}" -%></p>
+ <% @dashboard.errors.full_messages.each do |msg| %>
+ <p class="error"><%= h msg -%></p>
<% end %>
<div class="modal-field">
<label for="name"><%= h message('name') -%> <em class="mandatory">*</em></label>
<% end %>
</div>
<div class="modal-foot">
- <input type="submit" value="<%= h message('save') -%>" id="save-submit"/>
+ <input type="submit" value="<%= h message('dashboard.update_dashboard') -%>" id="save-submit"/>
<a href="#" onclick="return closeModalWindow()" id="save-cancel"><%= h message('cancel') -%></a>
</div>
</fieldset>