Fixed the layout for long names in the attachments.

This commit is contained in:
Loic d'Anterroches 2008-11-16 12:19:30 +01:00
parent 97425529b1
commit 3ae666a781
2 changed files with 9 additions and 6 deletions

View File

@ -17,10 +17,10 @@
<pre class="issue-comment-text">{if strlen($c.content) > 0}{issuetext $c.content, $request}{else}<i>{trans '(No comments were given for this change.)'}</i>{/if}</pre> <pre class="issue-comment-text">{if strlen($c.content) > 0}{issuetext $c.content, $request}{else}<i>{trans '(No comments were given for this change.)'}</i>{/if}</pre>
{assign $attachments = $c.get_attachment_list()} {assign $attachments = $c.get_attachment_list()}
{if $attachments.count() > 0} {if $attachments.count() > 0}
<div class="attach"> <hr align="left" class="attach" />
<ul> <ul>
{foreach $attachments as $a}<li><a href="{url 'IDF_Views_Issue::getAttachment', array($project.shortname, $a.id, $a.filename)}">{$a.filename}</a> - {$a.filesize|size}</li>{/foreach} {foreach $attachments as $a}<li><a href="{url 'IDF_Views_Issue::getAttachment', array($project.shortname, $a.id, $a.filename)}">{$a.filename}</a> - {$a.filesize|size}</li>{/foreach}
</ul></div>{/if} </ul>{/if}
{if $i> 0 and $c.changedIssue()} {if $i> 0 and $c.changedIssue()}
<div class="issue-changes"> <div class="issue-changes">
{foreach $c.changes as $w => $v} {foreach $c.changes as $w => $v}

View File

@ -242,8 +242,11 @@ span.nobrk {
hr { visibility: hidden; } hr { visibility: hidden; }
div.attach { hr.attach {
border-top: 2px solid #d3d7cf; visibility: visible;
border: 0;
background-color: #d3d7cf;
color: #d3d7cf;
width: 40%; width: 40%;
} }