layout.permalink=Permalink
layout.sonar.slogan=Embrace Quality
layout.powered_by=Powered by
-layout.plugins=Plugins
layout.documentation=Documentation
layout.ask_a_questions=Ask a question
layout.bug_feature_request=Bug/feature request
-sidebar.project_system=System
+sidebar.project_settings=Configuration
sidebar.security=Security
sidebar.system=System
<%
profile_measure=@snapshot.measure(Metric::PROFILE)
%>
-<%= link_to_favourite(@project) -%> Version <%= @snapshot.version -%> - <%= l @snapshot.created_at %>
-<% if profile_measure %> - Profile <%= link_to profile_measure.data, :controller => '/rules_configuration', :action => 'index', :id => profile_measure.value.to_i %><% end %>
+<% if profile_measure %>Profile <%= link_to profile_measure.data, :controller => '/rules_configuration', :action => 'index', :id => profile_measure.value.to_i %> - <% end %>
<% if @snapshot.project_snapshot.periods? %>
-- <form method="GET" action="<%= url_for :only_path=>true, :overwrite_params => {:period => nil} -%>" style="display: inline">
+<form method="GET" action="<%= url_for :only_path=>true, :overwrite_params => {:period => nil} -%>" style="display: inline">
<select id="select-comparison" name="period" onchange="submit()" class="small">
<option value=""><%= message('time_changes') -%>...</option>
<%= violation_period_select_options(@snapshot, 1) -%>
<li class="<%= 'selected' if request.request_uri.include?("page=#{page.getId()}") -%>"><a href="<%= ApplicationController.root_context -%>/plugins/resource/<%= @project.id-%>?page=<%= page.getId() -%>"><%= message(page.getId() + '.page', :default => page.getTitle()) %></a></li>
<% end %>
<% if has_role?(:admin, @project) %>
- <li class="h2"><%= message('sidebar.project_system') -%></li>
+ <li class="h2"><%= message('sidebar.project_settings') -%></li>
<li class="<%= 'selected' if request.request_uri.include?('/manual_measures') -%>"><a href="<%= ApplicationController.root_context -%>/manual_measures/index/<%= @project.id -%>"><%= message('manual_measures.page') -%></a></li>
<% if (@project.project? || @project.module?) %>
<li class="<%= 'selected' if request.request_uri.include?('/project/settings') -%>"><a href="<%= ApplicationController.root_context -%>/project/settings/<%= @project.id -%>"><%= message('project_settings.page') -%></a></li>
Open Source <a href="http://www.sonarsource.org/documentation/license/" target="license" class="external">LGPL</a>
-
v.<%= sonar_version -%>
- -
- <a href="http://sonar-plugins.codehaus.org" class="external" target="plugins"><%= message('layout.plugins') -%></a>
- -
+ -
<a href="http://sonar.codehaus.org/documentation" class="external" target="sonar_doc" class="external"><%= message('layout.documentation') -%></a>
-
<a href="http://sonar.codehaus.org/support/" target="support" class="external"><%= message('layout.ask_a_questions') -%></a>
width: 2px;
}
</style>
+
<div class="line-block marginbottom10">
<ul class="operations">
<li class="last">
<a href="<%= ApplicationController.root_context -%>/manual_measures/new/<%= @resource.id -%>" id="addMeasureLink">Add measure</a>
</li>
</ul>
+ <h1>Manual measures</h1>
</div>
+
<table class="width100 data sortable" id="manualMeasures">
<thead>
<tr>
-<h2>Plugin settings</h2>
+<h1 class="marginbottom10">Settings</h1>
<div class="yui-g widget" id="widget_plugins">
<%= render :partial => 'settings/plugins', :locals => {:project=>@project} %>
</div>
\ No newline at end of file
</tbody>
</table>
<br/>
- <%= submit_tag('save parameters') %>
+ <%= submit_tag('Save parameters') %>
</td>
<td class="column">