%
s = ' ' * (@indent || 2)
copyyears = {}
copyauthors = {}
[@item.fetch(:copyright, [])].flatten.each do |copyright| %>
<%=s%><%= copyright %><%
x = expand_copyright(copyright)
x[:years].each do |y| copyyears[y] = 1 end
copyauthors[x[:name]] = 1
end
copyyears.keys.sort.each do |y| %>
<%=s%><%= y %><%
end
copyauthors.keys.sort.each do |i| %>
<%=s%><%= i %><%
end
if @item[:license] then
licref = @item[:license].split
lic = find_license(licref[0]) %>
<%=s%>
<%=s%> <%= File::basename(lic.identifier.without_ext) %>
<%=s%> <%= license_shortname(lic) %>
<%=s%> <%= [lic[:title], licref[1..-1]].compact.join(" ").strip %>
<%=s%> <%= item_uri(lic) %>
<%=s%> <%=
lic[:"modification-allowed"] == true ? "yes" : "no"
%>
<%=s%><%
end %>