summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-03-05 09:10:23 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-03-05 09:10:23 +0900
commit84fe2c28adb0fdcbb3594eb524d2911b5f05ec4f (patch)
tree28df90ad97079a390c8eca31413f16fb113df508 /src/web
parent:art: (diff)
downloadsharkey-84fe2c28adb0fdcbb3594eb524d2911b5f05ec4f.tar.gz
sharkey-84fe2c28adb0fdcbb3594eb524d2911b5f05ec4f.tar.bz2
sharkey-84fe2c28adb0fdcbb3594eb524d2911b5f05ec4f.zip
:v:
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/desktop/views/components/posts.post.vue6
-rw-r--r--src/web/app/mobile/views/components/post.vue6
2 files changed, 12 insertions, 0 deletions
diff --git a/src/web/app/desktop/views/components/posts.post.vue b/src/web/app/desktop/views/components/posts.post.vue
index 8cf21f8a4c..93af3d54dc 100644
--- a/src/web/app/desktop/views/components/posts.post.vue
+++ b/src/web/app/desktop/views/components/posts.post.vue
@@ -43,6 +43,7 @@
<router-link v-for="tag in p.tags" :key="tag" :to="`/search?q=#${tag}`">{{ tag }}</router-link>
</div>
<a class="rp" v-if="p.repost">RP:</a>
+ <p class="location" v-if="p.geo">%fa:map-marker-alt% 位置情報</p>
<mk-url-preview v-for="url in urls" :url="url" :key="url"/>
</div>
<div class="media" v-if="p.media">
@@ -447,6 +448,11 @@ export default Vue.extend({
font-style oblique
color #a0bf46
+ > .location
+ margin 4px 0
+ font-size 12px
+ color #ccc
+
> .tags
margin 4px 0 0 0
diff --git a/src/web/app/mobile/views/components/post.vue b/src/web/app/mobile/views/components/post.vue
index fafc1429c2..bd8179dd2b 100644
--- a/src/web/app/mobile/views/components/post.vue
+++ b/src/web/app/mobile/views/components/post.vue
@@ -48,6 +48,7 @@
<mk-images :images="p.media"/>
</div>
<mk-poll v-if="p.poll" :post="p" ref="pollViewer"/>
+ <p class="location" v-if="p.geo">%fa:map-marker-alt% 位置情報</p>
<span class="app" v-if="p.app">via <b>{{ p.app.name }}</b></span>
<div class="repost" v-if="p.repost">%fa:quote-right -flip-h%
<mk-post-preview class="repost" :post="p.repost"/>
@@ -423,6 +424,11 @@ export default Vue.extend({
display block
max-width 100%
+ > .location
+ margin 4px 0
+ font-size 12px
+ color #ccc
+
> .app
font-size 12px
color #ccc