Skip to content
Permalink
Browse files

Add Year to date displays

Fixes #370
  • Loading branch information
bexelbie committed Sep 24, 2019
1 parent 505aeda commit cae90fe7d462418e2b576c8dc31da51dd1e9524e
@@ -17,7 +17,7 @@
%tbody
- @deposits.each do |deposit|
%tr
%td= l deposit.created_at, format: :short
%td= l deposit.created_at, format: :long
- unless @project
%td= link_to(deposit.project.full_name, pretty_project_path(deposit.project))
%td= btc_human deposit.amount
@@ -78,7 +78,7 @@
%ul
- @recent_tips.each do |tip|
%li
= l tip.created_at, format: :short
= l tip.created_at, format: :long
- if tip.user.nickname.blank?
= tip.user.display_name
- else
@@ -20,7 +20,7 @@
%tbody
- @tips.each do |tip|
%tr
%td= l tip.created_at, format: :short
%td= l tip.created_at, format: :long
- unless @user
%td
- if tip.user.nickname.blank?
@@ -18,7 +18,7 @@
%ul
- @recent_tips.each do |tip|
%li
= raw t('.received', time: l(tip.created_at, format: :short), amount: btc_human(tip.amount), commit: (tip.commit.start_with?('http') ? link_to('details', tip.commit, target: :blank) : link_to(tip.commit[0..6], "https://github.com/#{tip.project.full_name}/commit/#{tip.commit}", target: :blank)), project: link_to(tip.project.full_name, pretty_project_path(tip.project)))
= raw t('.received', time: l(tip.created_at, format: :long), amount: btc_human(tip.amount), commit: (tip.commit.start_with?('http') ? link_to('details', tip.commit, target: :blank) : link_to(tip.commit[0..6], "https://github.com/#{tip.project.full_name}/commit/#{tip.commit}", target: :blank)), project: link_to(tip.project.full_name, pretty_project_path(tip.project)))

%p
%strong= User.human_attribute_name(:email)
@@ -9,6 +9,6 @@
%tbody
- @sendmanies.each do |sendmany|
%tr
%td= l(sendmany.created_at, format: :short)
%td= l(sendmany.created_at, format: :long)
%td= link_to sendmany.txid, "#{block_explorer_tx_url(sendmany.txid)}", target: '_blank'
%td= sendmany.is_error ? t('.error') : t('.success')

0 comments on commit cae90fe

Please sign in to comment.
You can’t perform that action at this time.