diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-04-16 10:43:14 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-04-16 10:43:14 +0200 |
commit | 86ac9c0d6b56651cb79c60a616f8340524d1573e (patch) | |
tree | 4f149a01b1c67a68e587c153e655461b95e14e4f /view | |
parent | 32f79374b0e1a6d21204d8a51f2c3c60b28c95ca (diff) | |
download | volse-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.css | 8 | ||||
-rw-r--r-- | view/tpl/webpagelist.tpl | 4 |
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"> |