Merged r2722, r2771, r2772 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.8-stable@2883 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
94488269d1
commit
2ec385858f
@ -29,6 +29,7 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<%= call_hook :view_account_left_bottom, :user => @user %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="splitcontentright">
|
<div class="splitcontentright">
|
||||||
@ -64,6 +65,7 @@
|
|||||||
<%= auto_discovery_link_tag(:atom, :controller => 'projects', :action => 'activity', :user_id => @user, :format => :atom, :key => User.current.rss_key) %>
|
<%= auto_discovery_link_tag(:atom, :controller => 'projects', :action => 'activity', :user_id => @user, :format => :atom, :key => User.current.rss_key) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<%= call_hook :view_account_right_bottom, :user => @user %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% html_title @user.name %>
|
<% html_title @user.name %>
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<div class="contextual">
|
<div class="contextual">
|
||||||
<%= link_to_if_authorized l(:button_edit), {:controller => 'versions', :action => 'edit', :id => @version}, :class => 'icon icon-edit' %>
|
<%= link_to_if_authorized l(:button_edit), {:controller => 'versions', :action => 'edit', :id => @version}, :class => 'icon icon-edit' %>
|
||||||
|
<%= call_hook(:view_versions_show_contextual, { :version => @version, :project => @project }) %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2><%= h(@version.name) %></h2>
|
<h2><%= h(@version.name) %></h2>
|
||||||
|
@ -10,6 +10,8 @@ http://www.redmine.org/
|
|||||||
* Incoming mail handler : Allow spaces between keywords and colon
|
* Incoming mail handler : Allow spaces between keywords and colon
|
||||||
* Do not require a non-word character after a comma in Redmine links
|
* Do not require a non-word character after a comma in Redmine links
|
||||||
* Include issue hyperlinks in reminder emails
|
* Include issue hyperlinks in reminder emails
|
||||||
|
* Prevent nil error when retrieving svn version
|
||||||
|
* Various plugin hooks added
|
||||||
* Fixed: 500 Internal Server Error is raised if add an empty comment to the news
|
* Fixed: 500 Internal Server Error is raised if add an empty comment to the news
|
||||||
* Fixed: Atom links for wiki pages are not correct
|
* Fixed: Atom links for wiki pages are not correct
|
||||||
* Fixed: Atom feeds leak email address
|
* Fixed: Atom feeds leak email address
|
||||||
|
@ -37,7 +37,7 @@ module Redmine
|
|||||||
version = nil
|
version = nil
|
||||||
shellout(cmd) do |io|
|
shellout(cmd) do |io|
|
||||||
# Read svn version in first returned line
|
# Read svn version in first returned line
|
||||||
if m = io.gets.match(%r{((\d+\.)+\d+)})
|
if m = io.gets.to_s.match(%r{((\d+\.)+\d+)})
|
||||||
version = m[0].scan(%r{\d+}).collect(&:to_i)
|
version = m[0].scan(%r{\d+}).collect(&:to_i)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user