aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-04-16 10:43:14 +0200
committerMario Vavti <mario@mariovavti.com>2015-04-16 10:43:14 +0200
commit86ac9c0d6b56651cb79c60a616f8340524d1573e (patch)
tree4f149a01b1c67a68e587c153e655461b95e14e4f /view
parent32f79374b0e1a6d21204d8a51f2c3c60b28c95ca (diff)
downloadvolse-hubzilla-86ac9c0d6b56651cb79c60a616f8340524d1573e.tar.gz
volse-hubzilla-86ac9c0d6b56651cb79c60a616f8340524d1573e.tar.bz2
volse-hubzilla-86ac9c0d6b56651cb79c60a616f8340524d1573e.zip
move share webpage element from editwebpage to webpages and make it shareable with rpost
Diffstat (limited to 'view')
-rw-r--r--view/css/mod_webpages.css8
-rw-r--r--view/tpl/webpagelist.tpl4
2 files changed, 8 insertions, 4 deletions
diff --git a/view/css/mod_webpages.css b/view/css/mod_webpages.css
index 32291adc7..7e4dbf569 100644
--- a/view/css/mod_webpages.css
+++ b/view/css/mod_webpages.css
@@ -15,14 +15,14 @@
padding: 7px 3px 7px 10px;
}
-#webpage-list-table th:nth-child(5),
-#webpage-list-table td:nth-child(5){
+#webpage-list-table th:nth-child(6),
+#webpage-list-table td:nth-child(6){
padding: 7px 3px;
white-space: nowrap;
}
-#webpage-list-table th:nth-child(6),
-#webpage-list-table td:nth-child(6){
+#webpage-list-table th:nth-child(7),
+#webpage-list-table td:nth-child(7){
padding: 7px 10px 7px 7px;
white-space: nowrap;
}
diff --git a/view/tpl/webpagelist.tpl b/view/tpl/webpagelist.tpl
index 9d440eb64..154ac019a 100644
--- a/view/tpl/webpagelist.tpl
+++ b/view/tpl/webpagelist.tpl
@@ -20,6 +20,7 @@
<th width="95%">{{$title_txt}}</th>
<th width="1%"></th>
<th width="1%"></th>
+ <th width="1%"></th>
<th width="1%" class="hidden-xs">{{$created_txt}}</th>
<th width="1%" class="hidden-xs">{{$edited_txt}}</th>
</tr>
@@ -40,6 +41,9 @@
{{if $edit}}<a href="{{$baseurl}}/{{$item.url}}" title="{{$edit}}"><i class="icon-pencil"></i></a>{{/if}}
</td>
<td class="webpage-list-tool">
+ {{if $item.bb_element}}<a href="rpost?body={{$item.bb_element}}" title="{{$share}}"><i class="icon-share"></i></a>{{/if}}
+ </td>
+ <td class="webpage-list-tool">
{{if $edit}}<a href="#" title="{{$delete}}" onclick="dropItem('item/drop/{{$item.url}}', '#webpage-list-item-{{$item.url}}'); return false;"><i class="icon-trash drop-icons"></i></a>{{/if}}
</td>
<td class="hidden-xs">