summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/assets/js/lib/views/stream/hootstream.js1
-rw-r--r--views/partials/hootstream.ejs4
2 files changed, 3 insertions, 2 deletions
diff --git a/public/assets/js/lib/views/stream/hootstream.js b/public/assets/js/lib/views/stream/hootstream.js
index 4292fd9..f748417 100644
--- a/public/assets/js/lib/views/stream/hootstream.js
+++ b/public/assets/js/lib/views/stream/hootstream.js
@@ -152,6 +152,7 @@ var HootStream = View.extend({
link,
filename: file.filename,
age: get_age(file.date),
+ age_opacity: get_age_opacity(file.date),
date_class,
// date: datetime[0],
// time: datetime[1],
diff --git a/views/partials/hootstream.ejs b/views/partials/hootstream.ejs
index 1c9f154..6d48f78 100644
--- a/views/partials/hootstream.ejs
+++ b/views/partials/hootstream.ejs
@@ -38,10 +38,10 @@
<div class="filename" style="opacity: {{age_opacity}}">
<a href="{{link}}" title="{{id}}" class="file">{{filename}}</a>
</div>
- <div class="size">
+ <div class="size {{size_class}}" style="opacity: {{age_opacity}}">
{{size}}
</div>
- <div class="age {{date_class}}">
+ <div class="age {{date_class}}" style="opacity: {{age_opacity}}">
{{age}}
</div>
</div>