aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator
diff options
context:
space:
mode:
authorcd012013-01-19 01:45:34 +0900
committercd012013-01-19 01:45:34 +0900
commit8f936fc555dd20f2c61f54b40e79b97a5ed201e4 (patch)
tree6469380bed110996fa9191039b3b42bd657a5ef5 /twittperator
parentabe54a78bc9bdb6384bbed311de5dd9462e70513 (diff)
downloadvimperator-plugins-8f936fc555dd20f2c61f54b40e79b97a5ed201e4.tar.bz2
Add tweetTimeVisible Option
Diffstat (limited to 'twittperator')
-rw-r--r--twittperator/twsidebar.tw5
1 files changed, 4 insertions, 1 deletions
diff --git a/twittperator/twsidebar.tw b/twittperator/twsidebar.tw
index d4c097a..fccdfa6 100644
--- a/twittperator/twsidebar.tw
+++ b/twittperator/twsidebar.tw
@@ -56,6 +56,9 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () {
// サイドバーが閉じていても、こっそり開始しておく
silentStart: false,
+ // 時間とかRTした人のIDとかの表示
+ tweetTimeVisible: false,
+
// 配列かオブジェクトを返すと、変更できる。
// 文字列 "reject" を返すと、そもそもツイートが表示されなくなる。
modifier: function (msg, tab, streamName) {
@@ -144,7 +147,7 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () {
<hbox flex="1">
<label class={nameClass} style="font-weight: bold">{escapeBreakers(t.name)}</label>
<spacer flex="1"/>
- {t.sub || ''}
+ {(Config.tweetTimeVisible && t.sub) ? t.sub : ''}
</hbox>
<description flex="1" style="word-break:break-all;">{escapeBreakers(t.text)}</description>
</vbox>