Changeset - 8905386119d2
[Not reviewed]
default
0 1 0
domruf - 8 years ago 2017-06-28 23:25:41
dominikruf@gmail.com
templates: remove <pre> from panel header on files sources page

The font of panel headings should be more consistent.
Also using <pre> seems abusive in this case.
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/files/files_source.html
Show inline comments
 
@@ -14,15 +14,15 @@
 
</div>
 

	
 
<div id="body" class="panel panel-default">
 
    <div class="panel-heading clearfix">
 
        <span>
 
            <span class="img"><i class="icon-doc-inv"></i></span>
 
            <span><pre data-toggle="tooltip" title="${h.fmt_date(c.changeset.date)}">${h.link_to(h.show_id(c.changeset),h.url('changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id))}</pre></span>
 
            <span><pre>${h.format_byte_size(c.file.size,binary=True)}</pre></span>
 
            <span><pre>${c.file.mimetype}</pre></span>
 
            <span data-toggle="tooltip" title="${h.fmt_date(c.changeset.date)}">${h.link_to(h.show_id(c.changeset),h.url('changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id))}</span>
 
            <span>${h.format_byte_size(c.file.size,binary=True)}</span>
 
            <span>${c.file.mimetype}</span>
 
        </span>
 
        <span class="pull-right buttons">
 
              %if c.annotate:
 
                ${h.link_to(_('Show Source'),    h.url('files_home',         repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.f_path),class_="btn btn-default btn-xs")}
 
              %else:
 
                ${h.link_to(_('Show Annotation'),h.url('files_annotate_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.f_path),class_="btn btn-default btn-xs")}
0 comments (0 inline, 0 general)