Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Commit

Permalink
Version for redmine 0.9.x
Browse files Browse the repository at this point in the history
  • Loading branch information
kosz.storage committed Apr 15, 2010
1 parent 5f3c75c commit 6f80f12
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 11 deletions.
4 changes: 2 additions & 2 deletions app/views/issues/_history.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<% reply_links = authorize_for('issues', 'edit') -%>
<% tabs = [
{:label => l(:label_history_tab_all), :name => 'history_all'},
{:label => l(:label_history_tab_comments), :name => 'history_comments'},
{:label => :label_history_tab_all, :name => 'history_all'},
{:label => :label_history_tab_comments, :name => 'history_comments'},
] %>
<% selected_tab = params[:tab] ? params[:tab].to_s : 'history_comments' %>

Expand Down
5 changes: 3 additions & 2 deletions app/views/issues/_history_all.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
<% for journal in journals %>
<div id="change-<%= journal.id %>" class="journal">
<h4><div style="float:right;"><%= link_to "##{journal.indice}", :anchor => "note-#{journal.indice}" %></div>
<%= avatar(journal.user, :size => "24") %>
<%= content_tag('a', '', :name => "note-#{journal.indice}")%>
<%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %></h4>
<%= avatar(journal.user, :size => "32") %>

<ul>
<% for detail in journal.details %>
<li><%= show_detail(detail) %></li>
Expand All @@ -14,4 +15,4 @@
</div>
<%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %>
<% end %>
</div>
</div>
4 changes: 2 additions & 2 deletions app/views/issues/_history_comments.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<% if !journal.notes.blank? %>
<div id="change-<%= journal.id %>" class="journal">
<h4><div style="float:right;"><%= link_to "##{journal.indice}", :anchor => "note-#{journal.indice}" %></div>
<%= avatar(journal.user, :size => "24") %>
<%= content_tag('a', '', :name => "note-#{journal.indice}")%>
<%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %></h4>
<%= avatar(journal.user, :size => "32") %>
<ul>
<% for detail in journal.details %>
<li><%= show_detail(detail) %></li>
Expand All @@ -16,4 +16,4 @@
<%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %>
<% end %>
<% end %>
</div>
</div>
3 changes: 3 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
en:
label_history_tab_all: All
label_history_tab_comments: Comments
3 changes: 3 additions & 0 deletions config/locales/ru.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ru:
label_history_tab_all: Все
label_history_tab_comments: Комментарии
2 changes: 1 addition & 1 deletion init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
name 'Redmine Issue History Tabs plugin'
author 'Konstantin Zaitsev'
description 'This plugin provide history of issue in tabs representation'
version '0.0.1'
version '0.0.2'
end
2 changes: 0 additions & 2 deletions lang/en.yml

This file was deleted.

2 changes: 0 additions & 2 deletions lang/ru.yml

This file was deleted.

0 comments on commit 6f80f12

Please sign in to comment.