diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-02-17 03:18:48 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-02-17 03:18:48 +0900 |
| commit | 8e9e796b438649c4e6dc4b2427e8b2a73e1922ae (patch) | |
| tree | 22072229793f729d3b896e1a97ed592f2a067282 /src/web/app/common | |
| parent | wip (diff) | |
| download | sharkey-8e9e796b438649c4e6dc4b2427e8b2a73e1922ae.tar.gz sharkey-8e9e796b438649c4e6dc4b2427e8b2a73e1922ae.tar.bz2 sharkey-8e9e796b438649c4e6dc4b2427e8b2a73e1922ae.zip | |
wip
Diffstat (limited to 'src/web/app/common')
| -rw-r--r-- | src/web/app/common/views/components/index.ts | 2 | ||||
| -rw-r--r-- | src/web/app/common/views/components/time.vue | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/web/app/common/views/components/index.ts b/src/web/app/common/views/components/index.ts index e3f105f586..740b73f9f4 100644 --- a/src/web/app/common/views/components/index.ts +++ b/src/web/app/common/views/components/index.ts @@ -12,6 +12,7 @@ import images from './images.vue'; import uploader from './uploader.vue'; import specialMessage from './special-message.vue'; import streamIndicator from './stream-indicator.vue'; +import ellipsis from './ellipsis.vue'; Vue.component('mk-signin', signin); Vue.component('mk-signup', signup); @@ -25,3 +26,4 @@ Vue.component('mk-images', images); Vue.component('mk-uploader', uploader); Vue.component('mk-special-message', specialMessage); Vue.component('mk-stream-indicator', streamIndicator); +Vue.component('mk-ellipsis', ellipsis); diff --git a/src/web/app/common/views/components/time.vue b/src/web/app/common/views/components/time.vue index 3c856d3f26..6e0d2b0dcb 100644 --- a/src/web/app/common/views/components/time.vue +++ b/src/web/app/common/views/components/time.vue @@ -1,5 +1,5 @@ <template> -<time> +<time class="mk-time"> <span v-if=" mode == 'relative' ">{{ relative }}</span> <span v-if=" mode == 'absolute' ">{{ absolute }}</span> <span v-if=" mode == 'detail' ">{{ absolute }} ({{ relative }})</span> |