Project

General

Profile

RE: Redmine Arch Decisions plugin (for tracking technical... ยป add-factor-bugfix.diff

Allow using relative url to redmine, when adding an existing factor. - Boris Brodski, 2010-11-11 16:44

View differences:

app/views/factors/index.html.erb
40 40
	<% if !@popup %>
41 41
		<td><%= link_to(h(factor.summary), :project_id => @project, :action => 'show', :id => factor) %></td>
42 42
	<% else %>
43
		<td><%= link_to h(factor.summary), "/projects/#{@project.id}/arch_decisions/add_factor/#{@arch_decision.id}/#{factor.id}" %></td>
43
		<td><%= link_to h(factor.summary), "#{Redmine::Utils::relative_url_root}/projects/#{@project.id}/arch_decisions/add_factor/#{@arch_decision.id}/#{factor.id}" %></td>
44 44
	<% end %>
45 45
	<!-- td><%= textilizable factor.details, :factor => factor %></td -->
46 46
	<td align="center" style="white-space:nowrap;"><%= factor.scope_name %></td>
    (1-1/1)