layouts/project_data.htm
1 2 3 4 5 |
----- filter: erb ----- <div class="project-data right-column" >Project Status: <strong><%= @item.attributes[:status] %></strong><div class="project-version">Version: <strong><%= @item.attributes[:version]%></strong></div><div class="project-links">Links: <%= @item.attributes[:links].map{ |l| res=nil; l.each_pair{ |label, value| res = %{<a href="#{value}">#{label}</a>}}; res }.join(" · ") %></div><div id="github">Recent Activity:</div> </div> |