[views] Use h2 (smaller than h1) for hero unit title in primary view
authorVincent Michel <vincent.michel@logilab.fr>
Tue, 16 Jul 2013 13:28:32 +0200
changeset 289 41b25c4f7519
parent 288 f0b9e4864e72
child 290 177b5a9ca313
[views] Use h2 (smaller than h1) for hero unit title in primary view
views/primary.py
--- a/views/primary.py	Tue Jul 16 13:20:34 2013 +0200
+++ b/views/primary.py	Tue Jul 16 13:28:32 2013 +0200
@@ -54,7 +54,7 @@
         w = self.w
         w(u'<div class="well">')
         w(u'<div class="page-header">')
-        w(u'<h1>%s</h1>' % entity.dc_title())
+        w(u'<h2>%s</h2>' % entity.dc_title())
         w(u'</div>')
         w(u'<dl class="dl-horizontal">')
         for label, attribute in self.iterate_attributes(entity):