Initial Redmine tooling and local plugin forks

This commit is contained in:
Jason Thistlethwaite
2026-04-24 22:01:18 +00:00
commit 9f682af0eb
683 changed files with 56878 additions and 0 deletions
@@ -0,0 +1 @@
@@ -0,0 +1,32 @@
<%= l(:text_crm_contact_added, :name => h(@contact.name), :author => h(@contact.author)) %>
<hr />
<h1><%= link_to(h("#{l(:label_contact)} ##{@contact.id}: #{@contact.name}"), @contact_url) %></h1>
<ul>
<% if @contact.is_company %>
<li><%=l(:field_contact_company)%>: <%=h @contact.first_name %></li>
<li><%=l(:field_company_field)%>: <%=h @contact.job_title %></li>
<% else %>
<li><%=l(:field_contact_first_name)%>: <%=h @contact.first_name %></li>
<li><%=l(:field_contact_middle_name)%>: <%=h @contact.middle_name %></li>
<li><%=l(:field_contact_last_name)%>: <%=h @contact.last_name %></li>
<li><%=l(:field_contact_company)%>: <%=h @contact.company %></li>
<li><%=l(:field_contact_job_title)%>: <%=h @contact.job_title %></li>
<li><%=l(:field_birthday)%>: <%=h @contact.birthday %></li>
<% end %>
<li><%=l(:field_contact_phone)%>: <%=h @contact.phone %></li>
<li><%=l(:field_contact_email)%>: <%=h @contact.email %></li>
<li><%=l(:field_contact_website)%>: <%=h @contact.website %></li>
<li><%=l(:field_contact_skype)%>: <%=h @contact.skype_name %></li>
<li><%=l(:field_contact_address)%>: <%=h @contact.address %></li>
<li><%=l(:field_contact_tag_names)%>: <%=h @contact.tag_list %></li>
<li><%=l(:field_assigned_to)%>: <%=h @contact.assigned_to %></li>
<% if @contact.respond_to?(:custom_field_values) %>
<% @contact.custom_field_values.each do |c| %>
<li><%=h c.custom_field.name %>: <%=h show_value(c) %></li>
<% end %>
<% end %>
</ul>
<%= textilizable(@contact, :background, :only_path => false) %>
@@ -0,0 +1,30 @@
<%= l(:text_crm_contact_added, :name => h(@contact.name), :author => h(@contact.author)) %>
----------------------------------------
<%= "#{l(:label_contact)} ##{@contact.id}: #{@contact.name}" %>
<%= @contact_url %>
<% if @contact.is_company %>
* <%=l(:field_contact_company)%>: <%=h @contact.first_name %>
* <%=l(:field_company_field)%>: <%=h @contact.job_title %>
<% else %>
* <%=l(:field_contact_first_name)%>: <%=h @contact.first_name %>
* <%=l(:field_contact_middle_name)%>: <%=h @contact.middle_name %>
* <%=l(:field_contact_last_name)%>: <%=h @contact.last_name %>
* <%=l(:field_contact_company)%>: <%=h @contact.company %>
* <%=l(:field_contact_job_title)%>: <%=h @contact.job_title %>
* <%=l(:field_birthday)%>: <%=h @contact.birthday %>
<% end %>
* <%=l(:field_contact_phone)%>: <%=h @contact.phone %>
* <%=l(:field_contact_email)%>: <%=h @contact.email %>
* <%=l(:field_contact_website)%>: <%=h @contact.website %>
* <%=l(:field_contact_skype)%>: <%=h @contact.skype_name %>
* <%=l(:field_contact_address)%>: <%=h @contact.address %>
* <%=l(:field_contact_tag_names)%>: <%=h @contact.tag_list %>
* <%=l(:field_assigned_to)%>: <%=h @contact.assigned_to %>
<% if @contact.respond_to?(:custom_field_values) %>
<% @contact.custom_field_values.each do |c| %>
* <%= c.custom_field.name %>: <%= show_value(c) %>
<% end -%>
<% end %>
<%= @contact.background %>
@@ -0,0 +1,17 @@
<%= l(:text_crm_deal_added, :name => h(@deal.full_name), :author => h(@deal.author)) %>
<hr />
<h1><%= link_to(h("#{l(:label_deal)} ##{@deal.id}: #{@deal.info}".html_safe), @deal_url) %></h1>
<ul>
<li><%=l(:label_crm_deal_status)%>: <%=h @deal.status.name if @deal.status %></li>
<li><%=l(:label_crm_deal_category)%>: <%=h @deal.category %></li>
<li><%=l(:field_deal_contact)%>: <%=h @deal.contact.name if @deal.contact %></li>
<li><%=l(:field_deal_price)%>: <%=h @deal.price %></li>
<li><%=l(:field_assigned_to)%>: <%=h @deal.assigned_to %></li>
<% @deal.custom_field_values.each do |c| %>
<li><%=h c.custom_field.name %>: <%=h show_value(c) %></li>
<% end %>
</ul>
<%= textilizable(@deal, :background, :only_path => false) %>
@@ -0,0 +1,19 @@
<%= l(:text_crm_deal_added, :name => h(@deal.full_name), :author => h(@deal.author)) %>
----------------------------------------
<%= "#{l(:label_deal)} ##{@deal.id}: #{@deal.info}".html_safe %>
<%= @deal_url %>
* <%=l(:label_crm_deal_status)%>: <%=h @deal.status.name if @deal.status %>
* <%=l(:label_crm_deal_category)%>: <%=h @deal.category %>
* <%=l(:field_deal_contact)%>: <%=h @deal.contact.name if @deal.contact %>
* <%=l(:field_deal_price)%>: <%=h @deal.price %>
* <%=l(:field_assigned_to)%>: <%=h @deal.assigned_to %>
<% if @deal.respond_to?(:custom_field_values) %>
<% @deal.custom_field_values.each do |c| %>
* <%= c.custom_field.name %>: <%= show_value(c) %>
<% end -%>
<% end %>
<%= @deal.background %>
@@ -0,0 +1,22 @@
<%= l(:text_crm_deal_updated, :name => h(@deal.full_name), :author => h(@author)) %>
<ul>
<li><%=l(:text_crm_deal_status_changed, :old => (@status_was ? @status_was.name : ""), :new => (@status ? @status.name : "")) %></li>
</ul>
<hr />
<h1><%= link_to("#{l(:label_deal)} ##{@deal.id}: #{@deal.info}".html_safe, @deal_url) %></h1>
<ul>
<li><%=l(:label_crm_deal_status)%>: <%=h @deal.status.name if @deal.status %></li>
<li><%=l(:label_crm_deal_category)%>: <%=h @deal.category %></li>
<li><%=l(:field_deal_contact)%>: <%=h @deal.contact.name if @deal.contact %></li>
<li><%=l(:field_deal_price)%>: <%=h @deal.price %></li>
<li><%=l(:field_assigned_to)%>: <%=h @deal.assigned_to %></li>
<% @deal.custom_field_values.each do |c| %>
<li><%=h c.custom_field.name %>: <%=h show_value(c) %></li>
<% end %>
</ul>
<%= textilizable(@deal, :background, :only_path => false) %>
@@ -0,0 +1,18 @@
<%= l(:text_crm_deal_updated, :name => h(@deal.full_name), :author => h(@author)) %>
* <%=l(:text_crm_deal_status_changed, :old => (@status_was ? @status_was.name : ""), :new => (@status ? @status.name : "")) %>
----------------------------------------
<%= "#{l(:label_deal)} ##{@deal.id}: #{@deal.info}".html_safe %>
<%= @deal_url %>
* <%=l(:label_crm_deal_category)%>: <%=h @deal.category %>
* <%=l(:field_deal_contact)%>: <%=h @deal.contact.name if @deal.contact %>
* <%=l(:field_deal_price)%>: <%=h @deal.price %>
* <%=l(:field_assigned_to)%>: <%=h @deal.assigned_to %>
<% if @deal.respond_to?(:custom_field_values) %>
<% @deal.custom_field_values.each do |c| %>
* <%= c.custom_field.name %>: <%= show_value(c) %>
<% end -%>
<% end %>
<%= @deal.background %>
@@ -0,0 +1,5 @@
<h1><%=h @note.source.project.name %>: <%= link_to(h(@note.source.name), @note_url) %></h1>
<em><%=h @note.author %></em>
<%= textilizable(@note, :content, :only_path => false) %>
@@ -0,0 +1,5 @@
<%= link_to( h(@note.source.name), @note_url) %>
<%= @note.author %>
<%= @note.content %>
@@ -0,0 +1,3 @@
<h1><%=h @contact.project.name %>: <%= link_to(h(@contact.name), @contact_url) %></h1>
<%= l(:label_crm_issue_added) %> <%= link_to(h(@issue.subject), @issue_url %>
@@ -0,0 +1,3 @@
<%=h @contact.project.name %>: <%= link_to(h(@contact.name), @contact_url) %>
<%= l(:label_crm_issue_added) %> <%= link_to(h(@issue.subject), @issue_url %>