aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-06-09 16:38:15 +0200
committerMario Vavti <mario@mariovavti.com>2018-06-09 16:38:15 +0200
commit9e29c136788fc14b9264843e11541bb6a2176e19 (patch)
treee16a662cbd0cc5e296ae288c980e174917123d31
parente37ccb7a63ed9c0c67ebe1600109fe82258615df (diff)
downloadvolse-hubzilla-9e29c136788fc14b9264843e11541bb6a2176e19.tar.gz
volse-hubzilla-9e29c136788fc14b9264843e11541bb6a2176e19.tar.bz2
volse-hubzilla-9e29c136788fc14b9264843e11541bb6a2176e19.zip
fix issue #1219
-rw-r--r--Zotlabs/Module/Viewsrc.php9
-rw-r--r--view/css/conversation.css2
2 files changed, 7 insertions, 4 deletions
diff --git a/Zotlabs/Module/Viewsrc.php b/Zotlabs/Module/Viewsrc.php
index 54ab89e81..5900e385a 100644
--- a/Zotlabs/Module/Viewsrc.php
+++ b/Zotlabs/Module/Viewsrc.php
@@ -28,7 +28,7 @@ class Viewsrc extends \Zotlabs\Web\Controller {
$item_normal = item_normal();
if(local_channel() && $item_id) {
- $r = q("select id, item_flags, mimetype, item_obscured, body from item where uid in (%d , %d) and id = %d $item_normal limit 1",
+ $r = q("select id, item_flags, mimetype, item_obscured, body, llink, plink from item where uid in (%d , %d) and id = %d $item_normal limit 1",
intval(local_channel()),
intval($sys['channel_id']),
intval($item_id)
@@ -52,8 +52,11 @@ class Viewsrc extends \Zotlabs\Web\Controller {
}
if(is_ajax()) {
- print '<div><i class="fa fa-pencil"> ' . t('Source of Item') . ' ' . $r[0]['id'] . '</i></div>';
- echo $o;
+ echo '<div class="p-1">';
+ echo '<div>id: ' . $r[0]['id'] . ' | <a href="' . $r[0]['plink'] . '" target="_blank">plink</a> | <a href="' . $r[0]['llink'] . '" target="_blank">llink</a></div>';
+ echo '<hr>';
+ echo '<pre class="p-1">' . $o . '</pre>';
+ echo '</div>';
killme();
}
diff --git a/view/css/conversation.css b/view/css/conversation.css
index 81792b48e..0f69ffaba 100644
--- a/view/css/conversation.css
+++ b/view/css/conversation.css
@@ -136,7 +136,7 @@ a.wall-item-name-link {
.wall-item-ago,
.wall-item-ago i {
font-size: 0.75rem;
- line-height: 1;
+ line-height: 1.1;
}
.wall-item-ago .fa-check {