mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 01:33:09 +02:00
[Client:Mobile] 詳細な時間を確認できるように
This commit is contained in:
parent
edce96a699
commit
144576a577
1 changed files with 5 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
||||||
<span class="separator"></span>
|
<span class="separator"></span>
|
||||||
<span class="data-size">{ bytesToSize(file.datasize) }</span>
|
<span class="data-size">{ bytesToSize(file.datasize) }</span>
|
||||||
<span class="separator"></span>
|
<span class="separator"></span>
|
||||||
<span class="created-at"><i class="fa fa-clock-o"></i><mk-time time={ file.created_at }></mk-time></span>
|
<span class="created-at" onclick={ showCreatedAt }><i class="fa fa-clock-o"></i><mk-time time={ file.created_at }></mk-time></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
|
@ -213,5 +213,9 @@
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
this.showCreatedAt = () => {
|
||||||
|
alert(new Date(this.file.created_at).toLocaleString());
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
</mk-drive-file-viewer>
|
</mk-drive-file-viewer>
|
||||||
|
|
Loading…
Reference in a new issue