description is now shown in the article list if the title isn't available
authorzapata <zapata>
Mon, 4 Jun 2007 17:53:37 +0000 (17:53 +0000)
committerzapata <zapata>
Mon, 4 Jun 2007 17:53:37 +0000 (17:53 +0000)
templates/admin/contentlist.template

index 75da200..45d7601 100755 (executable)
@@ -68,7 +68,8 @@
           <if entry.is_published!="0">Pub.<else>-</if> <if entry.is_html!="0">HTML<else>-</if>
       </td>
       <td>
-        ${lang("articletypes." + entry.article_type.name)} <b>${utility.prettyEncodeHTML(entry.title)}</b> (${entry.id})<br>
+        ${lang("articletypes." + entry.article_type.name)} <b>
+       <if entry.title>${utility.prettyEncodeHTML(entry.title)}<else>${utility.prettyEncodeHTML(entry.description)}</if></b> (${entry.id})<br>
         ${lang("by")} <i>${utility.prettyEncodeHTML(entry.creator)}</i> (${entry.language.name})<br>
         <if showactions=="1">
           <if config["Mir.Localizer.Admin.ListOperationsFlavor"]=="0">