diff options
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/changelog.rhtml | 4 | ||||
-rw-r--r-- | app/views/projects/list_files.rhtml | 2 | ||||
-rw-r--r-- | app/views/projects/move_issues.rhtml | 2 | ||||
-rw-r--r-- | app/views/projects/show.rhtml | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/app/views/projects/changelog.rhtml b/app/views/projects/changelog.rhtml index e59df059d..250957a8c 100644 --- a/app/views/projects/changelog.rhtml +++ b/app/views/projects/changelog.rhtml @@ -17,12 +17,12 @@ @fixed_issues.each do |issue| %>
<% unless ver_id == issue.fixed_version_id %>
<% if ver_id %></ul><% end %>
- <h3><%= l(:label_version) %>: <%= issue.fixed_version.name %></h3>
+ <h3><%= issue.fixed_version.name %></h3>
<p><%= format_date(issue.fixed_version.effective_date) %><br />
<%=h issue.fixed_version.description %></p>
<ul>
<% ver_id = issue.fixed_version_id
end %>
- <li><%= link_to issue.long_id, :controller => 'issues', :action => 'show', :id => issue %> [<%= issue.tracker.name %>]: <%=h issue.subject %></li>
+ <li><%= link_to "#{issue.tracker.name} #{issue.id}", :controller => 'issues', :action => 'show', :id => issue %>: <%=h issue.subject %></li>
<% end %>
</div>
\ No newline at end of file diff --git a/app/views/projects/list_files.rhtml b/app/views/projects/list_files.rhtml index 881829a44..61c6d2c80 100644 --- a/app/views/projects/list_files.rhtml +++ b/app/views/projects/list_files.rhtml @@ -31,7 +31,7 @@ <% if delete_allowed %>
<td align="center">
<div class="contextual">
- <%= link_to_if_authorized l(:button_delete), {:controller => 'versions', :action => 'destroy_file', :id => version, :attachment_id => file}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %>
+ <%= link_to_if_authorized '', {:controller => 'versions', :action => 'destroy_file', :id => version, :attachment_id => file}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %>
</div>
</td>
<% end %> diff --git a/app/views/projects/move_issues.rhtml b/app/views/projects/move_issues.rhtml index 380d47fd5..772cdeb0d 100644 --- a/app/views/projects/move_issues.rhtml +++ b/app/views/projects/move_issues.rhtml @@ -6,7 +6,7 @@ <div class="box"> <p><label><%= l(:label_issue_plural) %>:</label> <% for issue in @issues %> - <b><%= link_to issue.long_id, :controller => 'issues', :action => 'show', :id => issue %></b> - <%= issue.subject %> + <b><%= link_to issue.long_id, :controller => 'issues', :action => 'show', :id => issue %></b> - <%=h issue.subject %> <%= hidden_field_tag "issue_ids[]", issue.id %><br /> <% end %> <i>(<%= @issues.length%> <%= lwr(:label_issue, @issues.length)%>)</i></p> diff --git a/app/views/projects/show.rhtml b/app/views/projects/show.rhtml index 46f17d9b9..d5da126e2 100644 --- a/app/views/projects/show.rhtml +++ b/app/views/projects/show.rhtml @@ -1,7 +1,7 @@ <h2><%=l(:label_overview)%></h2>
<div class="splitcontentleft">
- <%= simple_format(auto_link(h @project.description)) %>
+ <%= simple_format(auto_link(h(@project.description))) %>
<ul>
<% unless @project.homepage.empty? %><li><%=l(:field_homepage)%>: <%= auto_link @project.homepage %></li><% end %>
<li><%=l(:field_created_on)%>: <%= format_date(@project.created_on) %></li>
|