mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 04:27:59 +01:00
profile page tweaks
This commit is contained in:
parent
c13c43aaf2
commit
9f0a8470e4
2 changed files with 6 additions and 4 deletions
|
@ -23,7 +23,8 @@ defmodule PhilomenaWeb.ProfileController do
|
|||
must_not: filter,
|
||||
must: upload_query
|
||||
}
|
||||
}
|
||||
},
|
||||
sort: %{created_at: :desc}
|
||||
},
|
||||
%{page_number: 1, page_size: 6},
|
||||
Image |> preload([:tags])
|
||||
|
@ -37,7 +38,8 @@ defmodule PhilomenaWeb.ProfileController do
|
|||
must_not: filter,
|
||||
must: fave_query
|
||||
}
|
||||
}
|
||||
},
|
||||
sort: %{created_at: :desc}
|
||||
},
|
||||
%{page_number: 1, page_size: 6},
|
||||
Image |> preload([:tags])
|
||||
|
|
|
@ -44,9 +44,9 @@
|
|||
= for award <- award_order(@user.awards) do
|
||||
.block__content.flex.flex--centered.flex--center-distributed.alternating-color.no-overflow title=award.label
|
||||
.flex__grow.center
|
||||
.badge = badge_image(award.badge, alt: award.label, size: "32")
|
||||
.badge = badge_image(award.badge, alt: award.label, width: "32", height: "32")
|
||||
br
|
||||
= award.badge_name || badge.title
|
||||
= (award.badge_name || award.badge.title)
|
||||
.flex__grow.center
|
||||
= pretty_time(award.awarded_on)
|
||||
|
||||
|
|
Loading…
Reference in a new issue