parent
bb85b6bfb0
commit
116b5628fa
@ -1,24 +0,0 @@ |
||||
<%#-- copyright |
||||
OpenProject is a project management system. |
||||
|
||||
Copyright (C) 2012-2013 the OpenProject Team |
||||
|
||||
This program is free software; you can redistribute it and/or |
||||
modify it under the terms of the GNU General Public License version 3. |
||||
|
||||
See doc/COPYRIGHT.rdoc for more details. |
||||
|
||||
++#%> |
||||
|
||||
<div class="splitcontentleft"> |
||||
<% i = 0 %> |
||||
<% split_on = (work_package.custom_field_values.size / 2.0).ceil - 1 %> |
||||
<% work_package.custom_field_values.each do |value| %> |
||||
<p><%= custom_field_tag_with_label :issue, value %></p> |
||||
<% if i == split_on -%> |
||||
</div><div class="splitcontentright"> |
||||
<% end -%> |
||||
<% i += 1 -%> |
||||
<% end -%> |
||||
</div> |
||||
<div style="clear:both;"> </div> |
Loading…
Reference in new issue