Преглед изворни кода

加入跳转到详情页链接

James Iter пре 9 година
родитељ
комит
065a613627
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      templates/disk_show.html
  2. 1 1
      templates/guest_show.html

+ 1 - 1
templates/disk_show.html

@@ -378,7 +378,7 @@
                     <td><input title="选中" type="checkbox"></td>
                     <td>
                         <div>
-                            <a href="javascript:;">{{ item.uuid }}</a>
+                            <a href="/disk/detail/{{ item.uuid }}">{{ item.uuid }}</a>
                         </div>
                         <div>
                             <p style="display: inline-block;">{{ item.remark }}</p>

+ 1 - 1
templates/guest_show.html

@@ -577,7 +577,7 @@
                     <td><input title="选中" type="checkbox"></td>
                     <td>
                         <div>
-                            <a href="javascript:;">{{ item.label }}</a>
+                            <a href="/guest/detail/{{ item.uuid }}">{{ item.label }}</a>
                         </div>
                         <div>
                             <p style="display: inline-block;">{{ item.remark }}</p>