Adds a branch for unlimited project hierarchy.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2148 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-12-19 20:51:35 +00:00
parent 7ae224f5c2
commit 04fea923a4
1272 changed files with 119640 additions and 0 deletions
@@ -0,0 +1,15 @@
<h1><%= link_to "#{issue.tracker.name} ##{issue.id}: #{issue.subject}", issue_url %></h1>
<ul>
<li><%=l(:field_author)%>: <%= issue.author %></li>
<li><%=l(:field_status)%>: <%= issue.status %></li>
<li><%=l(:field_priority)%>: <%= issue.priority %></li>
<li><%=l(:field_assigned_to)%>: <%= issue.assigned_to %></li>
<li><%=l(:field_category)%>: <%= issue.category %></li>
<li><%=l(:field_fixed_version)%>: <%= issue.fixed_version %></li>
<% issue.custom_values.each do |c| %>
<li><%= c.custom_field.name %>: <%= show_value(c) %></li>
<% end %>
</ul>
<%= textilizable(issue, :description, :only_path => false) %>
@@ -0,0 +1,13 @@
<%= "#{issue.tracker.name} ##{issue.id}: #{issue.subject}" %>
<%= issue_url %>
<%=l(:field_author)%>: <%= issue.author %>
<%=l(:field_status)%>: <%= issue.status %>
<%=l(:field_priority)%>: <%= issue.priority %>
<%=l(:field_assigned_to)%>: <%= issue.assigned_to %>
<%=l(:field_category)%>: <%= issue.category %>
<%=l(:field_fixed_version)%>: <%= issue.fixed_version %>
<% issue.custom_values.each do |c| %><%= c.custom_field.name %>: <%= show_value(c) %>
<% end %>
<%= issue.description %>
@@ -0,0 +1,2 @@
<p><%= l(:mail_body_account_activation_request, @user.login) %></p>
<p><%= link_to @url, @url %></p>
@@ -0,0 +1,2 @@
<%= l(:mail_body_account_activation_request, @user.login) %>
<%= @url %>
@@ -0,0 +1,11 @@
<% if @user.auth_source %>
<p><%= l(:mail_body_account_information_external, @user.auth_source.name) %></p>
<% else %>
<p><%= l(:mail_body_account_information) %>:</p>
<ul>
<li><%= l(:field_login) %>: <%= @user.login %></li>
<li><%= l(:field_password) %>: <%= @password %></li>
</ul>
<% end %>
<p><%= l(:label_login) %>: <%= auto_link(@login_url) %></p>
@@ -0,0 +1,6 @@
<% if @user.auth_source %><%= l(:mail_body_account_information_external, @user.auth_source.name) %>
<% else %><%= l(:mail_body_account_information) %>:
* <%= l(:field_login) %>: <%= @user.login %>
* <%= l(:field_password) %>: <%= @password %>
<% end %>
<%= l(:label_login) %>: <%= @login_url %>
@@ -0,0 +1,5 @@
<%= link_to @added_to, @added_to_url %><br />
<ul><% @attachments.each do |attachment | %>
<li><%= attachment.filename %></li>
<% end %></ul>
@@ -0,0 +1,4 @@
<%= @added_to %><% @attachments.each do |attachment | %>
- <%= attachment.filename %><% end %>
<%= @added_to_url %>
@@ -0,0 +1,3 @@
<%= link_to @document.title, @document_url %> (<%= @document.category.name %>)<br />
<br />
<%= textilizable(@document, :description, :only_path => false) %>
@@ -0,0 +1,4 @@
<%= @document.title %> (<%= @document.category.name %>)
<%= @document_url %>
<%= @document.description %>
@@ -0,0 +1,3 @@
<%= l(:text_issue_added, "##{@issue.id}", @issue.author) %>
<hr />
<%= render :partial => "issue_text_html", :locals => { :issue => @issue, :issue_url => @issue_url } %>
@@ -0,0 +1,4 @@
<%= l(:text_issue_added, "##{@issue.id}", @issue.author) %>
----------------------------------------
<%= render :partial => "issue_text_plain", :locals => { :issue => @issue, :issue_url => @issue_url } %>
@@ -0,0 +1,11 @@
<%= l(:text_issue_updated, "##{@issue.id}", @journal.user) %>
<ul>
<% for detail in @journal.details %>
<li><%= show_detail(detail, true) %></li>
<% end %>
</ul>
<%= textilizable(@journal, :notes, :only_path => false) %>
<hr />
<%= render :partial => "issue_text_html", :locals => { :issue => @issue, :issue_url => @issue_url } %>
@@ -0,0 +1,9 @@
<%= l(:text_issue_updated, "##{@issue.id}", @journal.user) %>
<% for detail in @journal.details -%>
<%= show_detail(detail, true) %>
<% end -%>
<%= @journal.notes if @journal.notes? %>
----------------------------------------
<%= render :partial => "issue_text_plain", :locals => { :issue => @issue, :issue_url => @issue_url } %>
@@ -0,0 +1,37 @@
<html>
<head>
<style>
body {
font-family: Verdana, sans-serif;
font-size: 0.8em;
color:#484848;
}
h1 {
font-family: "Trebuchet MS", Verdana, sans-serif;
font-size: 1.2em;
margin: 0px;
}
a, a:link, a:visited {
color: #2A5685;
}
a:hover, a:active {
color: #c61a1a;
}
hr {
width: 100%;
height: 1px;
background: #ccc;
border: 0;
}
.footer {
font-size: 0.8em;
font-style: italic;
}
</style>
</head>
<body>
<%= yield %>
<hr />
<span class="footer"><%= Redmine::WikiFormatting.to_html(Setting.text_formatting, Setting.emails_footer) %></span>
</body>
</html>
@@ -0,0 +1,3 @@
<%= yield %>
----------------------------------------
<%= Setting.emails_footer %>
@@ -0,0 +1,4 @@
<p><%= l(:mail_body_lost_password) %><br />
<%= auto_link(@url) %></p>
<p><%= l(:field_login) %>: <b><%= @token.user.login %></b></p>
@@ -0,0 +1,4 @@
<%= l(:mail_body_lost_password) %>
<%= @url %>
<%= l(:field_login) %>: <%= @token.user.login %>
@@ -0,0 +1,4 @@
<h1><%=h @message.board.project.name %> - <%=h @message.board.name %>: <%= link_to @message.subject, @message_url %></h1>
<em><%= @message.author %></em>
<%= textilizable(@message, :content, :only_path => false) %>
@@ -0,0 +1,4 @@
<%= @message_url %>
<%= @message.author %>
<%= @message.content %>
@@ -0,0 +1,4 @@
<h1><%= link_to @news.title, @news_url %></h1>
<em><%= @news.author.name %></em>
<%= textilizable(@news, :description, :only_path => false) %>
@@ -0,0 +1,5 @@
<%= @news.title %>
<%= @news_url %>
<%= @news.author.name %>
<%= @news.description %>
@@ -0,0 +1,2 @@
<p><%= l(:mail_body_register) %><br />
<%= auto_link(@url) %></p>
@@ -0,0 +1,2 @@
<%= l(:mail_body_register) %>
<%= @url %>
@@ -0,0 +1,9 @@
<p><%= l(:mail_body_reminder, @issues.size, @days) %></p>
<ul>
<% @issues.each do |issue| -%>
<li><%=h "#{issue.project} - #{issue.tracker} ##{issue.id}: #{issue.subject}" %></li>
<% end -%>
</ul>
<p><%= link_to l(:label_issue_view_all), @issues_url %></p>
@@ -0,0 +1,7 @@
<%= l(:mail_body_reminder, @issues.size, @days) %>:
<% @issues.each do |issue| -%>
* <%= "#{issue.project} - #{issue.tracker} ##{issue.id}: #{issue.subject}" %>
<% end -%>
<%= @issues_url %>
@@ -0,0 +1,2 @@
<p>This is a test email sent by Redmine.<br />
Redmine URL: <%= auto_link(@url) %></p>
@@ -0,0 +1,2 @@
This is a test email sent by Redmine.
Redmine URL: <%= @url %>