OSDN Git Service

fix admin's submission list page to show submission comment
[newslash/newslash.git] / src / newslash_web / templates / admin / submissions / index.html.tt2
index ad207a1..a2d49de 100644 (file)
@@ -9,9 +9,9 @@
         <tr>
           <th></th>
           <th>date</th>
+          <th>edit</th>
           <th>title</th>
           <th>author</th>
-          <th>note</th>
           <th>comment</th>
           <th>introtext</th>
         </tr>
@@ -20,9 +20,9 @@
         <tr v-for="item in submissions" v-on:dblclick="editItem(item)">
           <td><input type="checkbox" v-model="item.selected" /></td>
           <td v-text="item.time"></td>
+          <td><a :href="'/admin/story/edit?subid=' + item.subid" target="_blank" class="glyphicon glyphicon-edit"></a></td>
           <td><a :href="item.url" v-text="item.subj" target="_blank"></a></td>
           <td v-text="item.author"></td>
-          <td v-text="item.note"></td>
           <td v-text="item.comment"></td>
           <td v-text="item.choppedText"></td>
         </tr>