]> git.parisson.com Git - telemeta.git/commitdiff
collection dublin core
authorjulia <>
Fri, 7 Mar 2008 13:30:19 +0000 (13:30 +0000)
committerjulia <>
Fri, 7 Mar 2008 13:30:19 +0000 (13:30 +0000)
telemeta/htdocs/css/telemeta.css
telemeta/templates/collection_detail_dc.html

index e751e623b4e6e749f030f9daadcff3b4b0d5de6b..f9a1566a242c210f5d3acae255fc689d7d8132c5 100644 (file)
@@ -238,6 +238,12 @@ label.disabled { color: #d7d7d7 }
 /* HTML dublin core display */
 
 table.dublincore { width: auto; }
+table.dublincore caption {
+    text-align: left;
+    padding: 5px 0 10px;
+    font-weight: bold;
+    color: #666;
+}
 
 /* Navigation (borrowed from Trac) */
 .nav h2, .nav hr { display: none }
index 82f5b9d4e1ea110a7db70ea8e13294366ca3780c..4c64e42d093202b427d9cec5690b6641b8b56bc6 100644 (file)
@@ -1,14 +1,14 @@
 {% extends "base.html" %}
 {% load telemeta_utils %}
 
+{% if object %}
 {% block submenu %}
-    <a href="{% url telemeta-collection-detail object.id|urlencode %}">
-        Normal View</a>
+    <h3>Collection: {{ object.title }}</h3>
+    <div><a href="{% url telemeta-collection-detail object.id|urlencode %}">Normal View</a></div>
 {% endblock %}
 
 {% block content %}
-{% if object %}
-    <h3>Collection: {{ object.title }}</h3>
+    
     <table class="dublincore listing">
     <caption>Dublin Core Expression</caption>
     <thead>
@@ -30,7 +30,7 @@
         {% endfor %}
     </tbody>
     </table>
+{% endblock %}
 {% else %}
     <p>No such collection</p>
-{% endif %}
-{% endblock %}
+{% endif %}
\ No newline at end of file