diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-12-17 14:22:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-12-17 14:22:09 +0000 |
commit | 918123cd0663803a6e392c6c9ce209d10c8e5603 (patch) | |
tree | 86cff407524e2d7fc6d987aebbea0fcda90e2076 /app/views/projects | |
parent | 2b86ef8e28d0e5376197391c29a8fb302f14820f (diff) | |
download | redmine-918123cd0663803a6e392c6c9ce209d10c8e5603.tar.gz redmine-918123cd0663803a6e392c6c9ce209d10c8e5603.zip |
* code and views cleaning
* javascript added on custom field form to show/hide fields according to the format of custom field
git-svn-id: http://redmine.rubyforge.org/svn/trunk@100 e93f8b46-1217-0410-a6f0-8f06a7374b81
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>
|