cosmetic changes to the article list
authorzapata <zapata>
Tue, 17 Jun 2003 11:11:08 +0000 (11:11 +0000)
committerzapata <zapata>
Tue, 17 Jun 2003 11:11:08 +0000 (11:11 +0000)
templates/admin/contentlist.template

index 98f6ba1..5143fa9 100755 (executable)
@@ -50,8 +50,8 @@
       </span>
     </td>
     <td class="table-head" valign="top">
-      ${lang("content.type")} - ${lang("content.title")} <br>
-      ${lang("content.creator")}
+      ${lang("content.type")} - ${lang("content.title")} (id # )<br>
+      ${lang("content.creator")} 
     </td>
     <td class="table-head" valign="top">
       ${lang("content.comment")}
@@ -60,7 +60,6 @@
   </tr>
 
 <assign grey="0">
-
   <list articles as entry>
     <tr <if grey=="1"><assign grey="0">class="listrow1"<else>class="listrow2"<assign grey="1"></if>>
       <td class="x-small">
@@ -69,9 +68,8 @@
           <if entry.is_published!="0">Pub.<else>-</if> <if entry.is_html!="0">HTML<else>-</if>
       </td>
       <td>
-        <b>${entry.title}</b><br>
-        ${lang("by")}: ${entry.creator}<br>
-        (${lang("articletypes." + entry.article_type.name)}) 
+        ${lang("articletypes." + entry.article_type.name)} <b>${entry.title}</b> (${entry.id})<br>
+        ${lang("by")} <i>${utility.encodeHTML(entry.creator)}</i><br>
         <if showactions=="1">
           <if config["Mir.Localizer.Admin.ListOperationsFlavor"]=="0">
             <list entry.operations as op>
           </list>
         </if>
           <if config["Mir.Localizer.Admin.ListOperationsFlavor"]=="2">
-            <select name="operation">
-              <option value="" selected>&nbsp;</option>
-              <list entry.operations as op>
-                <option value="${entry.id};${op}">${lang("content.operation."+op)}</option>
-              </list>
-            </select>
+            <if entry.operations>
+              <br>
+              <select name="operation">
+                <option value="" selected>&nbsp;</option>
+                <list entry.operations as op>
+                  <option value="${entry.id};${op}">${lang("content.operation."+op)}</option>
+                </list>
+              </select>
+            </if>
           </if>
           <if entry.operations> | </if>
           <a href="${config.actionRoot}?module=Content&do=edit&id=${entry.id}&returnurl=${utility.encodeURI(thisurl)}">${lang("edit")}</a> |