view/library.html.haml in inqlude-0.0.5 vs view/library.html.haml in inqlude-0.0.6
- old
+ new
@@ -3,18 +3,41 @@
%p
%em
Version
= m "version"
+ = "(#{m "maturity"})"
+ - if !old_versions.empty?
+ %span{:class => "old-versions"}
+ = "(older versions: #{old_versions.join(", ")})"
%p
= m "summary"
%p
= m "description"
+= list_attribute "licenses"
+= list_attribute "platforms"
+= list_attribute "authors"
+
%p
- = link m( "homepage" )
+ = link m( "urls", "homepage" )
+
+- if more_urls?
+ %h3 Read more
+ %ul
+ = link_item "api_docs", "API documentation"
+ = link_item "readme", "README"
+ = link_item "tutorial", "Tutorial"
+ = link_item "download", "Download source"
+ = link_item "vcs", "Source code repository"
+ = custom_urls
+
+%p{:class => "edit-link"}
+ = link_to "[Edit]", editor_url
+
+%br{:clear => "all"}
- if disqus_enabled?
%hr
#disqus_thread