description is now shown in the article list if the title isn't available
[mir.git] / templates / admin / contentlist.template
index b89e0aa..45d7601 100755 (executable)
@@ -24,7 +24,7 @@
   <call ContentSearch ("layouted")>
 </if>
 
-<if articles>
+<if entities>
 
 <if showactions=="1">
   <if config["Mir.Localizer.Admin.ListOperationsFlavor"]!="0">
@@ -51,7 +51,7 @@
     </td>
     <td class="table-head" valign="top">
       ${lang("content.type")} - ${lang("content.title")} (id # )<br>
-      ${lang("content.creator")} 
+      ${lang("content.creator")} (${lang("content.language")})
     </td>
     <td class="table-head" valign="top">
       ${lang("content.comment")}
@@ -60,7 +60,7 @@
   </tr>
 
 <assign grey="0">
-  <list articles as entry>
+  <list entities as entry>
     <tr <if grey=="1"><assign grey="0">class="listrow1"<else>class="listrow2"<assign grey="1"></if>>
       <td class="x-small">
           ${entry.creationdate.format(config["Mir.DefaultDateTimeFormat"])}<br>
@@ -68,8 +68,9 @@
           <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("by")} <i>${utility.prettyEncodeHTML(entry.creator)}</i><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">
             <list entry.operations as op>