Fixed the layout for long names in the attachments.
This commit is contained in:
parent
97425529b1
commit
3ae666a781
@ -17,16 +17,16 @@
|
|||||||
<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}
|
||||||
<strong>{if $w == 'su'}{trans 'Summary:'}{/if}{if $w == 'st'}{trans 'Status:'}{/if}{if $w == 'ow'}{trans 'Owner:'}{/if}{if $w == 'lb'}{trans 'Labels:'}{/if}</strong> {if $w == 'lb'}{assign $l = implode(', ', $v)}{$l}{else}{$v}{/if}<br />
|
<strong>{if $w == 'su'}{trans 'Summary:'}{/if}{if $w == 'st'}{trans 'Status:'}{/if}{if $w == 'ow'}{trans 'Owner:'}{/if}{if $w == 'lb'}{trans 'Labels:'}{/if}</strong> {if $w == 'lb'}{assign $l = implode(', ', $v)}{$l}{else}{$v}{/if}<br />
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>{assign $i = $i + 1}{if $i == $nc and false == $form}
|
</div>{assign $i = $i + 1}{if $i == $nc and false == $form}
|
||||||
<div class="issue-comment-signin">
|
<div class="issue-comment-signin">
|
||||||
|
@ -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%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user