[Rt-commit] [svn] r1357 - in
rtfm/branches/2.1-TESTING/html/RTFM/Article: . Elements
alexmv at pallas.eruditorum.org
alexmv at pallas.eruditorum.org
Thu Aug 19 16:42:42 EDT 2004
Author: alexmv
Date: Thu Aug 19 16:42:41 2004
New Revision: 1357
Modified:
rtfm/branches/2.1-TESTING/html/RTFM/Article/Display.html
rtfm/branches/2.1-TESTING/html/RTFM/Article/Elements/ShowTopics
Log:
* Move topics listing to top, above custom fields, just below title
Modified: rtfm/branches/2.1-TESTING/html/RTFM/Article/Display.html
==============================================================================
--- rtfm/branches/2.1-TESTING/html/RTFM/Article/Display.html (original)
+++ rtfm/branches/2.1-TESTING/html/RTFM/Article/Display.html Thu Aug 19 16:42:41 2004
@@ -20,11 +20,12 @@
id => $id,
Title => $title,
current_subtab => 'RTFM/Article/Display.html?id='.$id &>
+<& Elements/ShowTopics, article => $article &>
+
<emp><%$article->Summary%></emp>
<br><br><br>
<& Elements/ShowCustomFields, article => $article &>
<br>
-<& Elements/ShowTopics, article => $article &>
<br>
<& Elements/ShowLinks, article => $article &>
<%init>
Modified: rtfm/branches/2.1-TESTING/html/RTFM/Article/Elements/ShowTopics
==============================================================================
--- rtfm/branches/2.1-TESTING/html/RTFM/Article/Elements/ShowTopics (original)
+++ rtfm/branches/2.1-TESTING/html/RTFM/Article/Elements/ShowTopics Thu Aug 19 16:42:41 2004
@@ -15,20 +15,13 @@
%# GNU General Public License for more details.
%#
%# END LICENSE BLOCK
-
-Topics:
% my $topics = new RT::FM::ObjectTopicCollection($session{'CurrentUser'});
% $topics->LimitToObject($article);
-% if ($topics->Count) {
-<ul>
% my @topics;
% while (my $t = $topics->Next) {
-<li><& /RTFM/Elements/ShowTopic, topic => $t->TopicObj &></li>
-% }
-</ul>
-% } else {
-<i>no topics</i>
+<& /RTFM/Elements/ShowTopic, topic => $t->TopicObj &><br />
% }
+<br />
<%args>
$article => undef
More information about the Rt-commit
mailing list