* 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
This commit is contained in:
1 parent
2b86ef8e28
commit
918123cd06
17 files changed
+93
-67
No files matched your search
@@ -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>
|
||||
@@ -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 %>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user