parameters=Parameters
password=Password
path=Path
+permalink=Permanent Link
permalinks=Permalinks
plugin=Plugin
project=Project
lcom4_viewer.page=LCOM4
resource_deletion.page={0} Deletion
update_key.page=Update Key
-project_quality_profile.page=Quality Profile
+project_quality_profiles.page=Quality Profiles
bulk_deletion.page=Bulk Deletion
-<% if @resource || @project %>
+<% if @resource || @project
+ displayed_resource = @resource || @project
+%>
<div id="crumbs">
- <ul>
+ <% if !@review %>
+ <ul id="crumbs-ops">
+ <li><a href="<%= url_for(:overwrite_params => {:id => displayed_resource.key})-%>"><img src="<%= ApplicationController.root_context -%>/images/permalink.png" width="16" height="16" title="<%= message('permalink') -%>"/></a></li>
+ </ul>
+ <% end %>
+ <ul id="bc">
<%
resource_link = {}
if @review
end
# ======== Path for resources ========
- displayed_resource = @resource || @project
+
if displayed_resource && displayed_resource.last_snapshot
resources=[]
s=displayed_resource.last_snapshot
end
%>
<li class="first"><%= message("qualifiers.#{resources[0].qualifier}") -%></li>
- <%
+ <%
resources.each_with_index do |resource, index|
- %>
+ %>
<li>
<%= qualifier_icon(resource) -%>
-<h1 class="marginbottom10"><%= message('project_quality_profile.page') -%></h1>
+<h1 class="marginbottom10"><%= message('project_quality_profiles.page') -%></h1>
<table class="data">
<thead>
font-size: 93%;
margin: 0 10px;
border-bottom: 1px solid #CCC;
- border-right: 2px solid #CCC;
+ border-right: 1px solid #CCC;
+}
+#crumbs img {
+ vertical-align: text-bottom;
}
-#crumbs > ul > li {
+#bc li {
float: left;
margin: 0;
background: #EFEFEF url("../images/bc-gray.png") no-repeat left;
padding: 0 10px 0 20px;
}
-#crumbs > ul > li.first {
+#bc li.first {
background: #EFEFEF;
border-left: 2px solid #CCC;
padding: 0 10px 0 5px;
}
-#crumbs > ul > li img {
- vertical-align: text-bottom;
+#bc li img {
margin-right: -5px;
}
-#crumbs > ul > li a {
+#bc li a {
text-decoration: none;
}
-#crumbs > ul > li a:hover, #crumbs > ul > li a:focus {
+#bc li a:hover, #bc li a:focus {
text-decoration: underline;
}
+#crumbs-ops {
+ float: right;
+ padding: 0 5px 0 0;
+}
#nonav {
text-align: left;