Indefero

Indefero Commit Details


Date:2008-08-13 14:20:47 (16 years 4 months ago)
Author:Loic d'Anterroches
Branch:dev, develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3, svn
Commit:a8db15d1e5dd2cfba43ee26f708e21526f303061
Parents: 0d4a31c086f52c2bc44db2c4b75dfe5bd1479e93
Message:Added a warning when adding a comment to a closed issue.

The warning is only displayed for the simple users.
Changes:

File differences

src/IDF/Views/Issue.php
237237
238238
239239
240
240241
241242
242243
......
300301
301302
302303
304
303305
304306
305307
$title = Pluf_Template::markSafe(sprintf(__('Issue <a href="%s">%d</a>: %s'), $url, $issue->id, $issue->summary));
$form = false; // The form is available only if logged in.
$starred = false;
$closed = in_array($issue->status, $prj->getTagIdsByStatus('closed'));
if (!$request->user->isAnonymous()) {
$starred = Pluf_Model_InArray($request->user, $issue->get_interested_list());
$params = array(
'form' => $form,
'starred' => $starred,
'page_title' => $title,
'closed' => $closed,
),
$arrays),
$request);
src/IDF/templates/issues/view.html
4242
4343
4444
45
46
47
48
4549
4650
4751
</div>
{/if}
{if $closed and (!$isOwner and !$isMember)}
<p><img src="{media '/idf/img/warning.png'}" style="vertical-align: text-bottom;" alt=" " /> {blocktrans}This issue is marked as closed, add a comment only if you think this issue is still valid and more work is needed to fully fix it.{/blocktrans}</p>
{/if}
<form method="post" enctype="multipart/form-data" action="{url 'IDF_Views_Issue::view', array($project.shortname, $issue.id)}" >
<table class="form" summary="">
<tr>

Archive Download the corresponding diff file

Page rendered in 0.07946s using 13 queries.