2 Commits

Author SHA1 Message Date
08c9cddc78 fix user card confirmation time spacing
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-19 19:54:52 -05:00
e6285c282b add version tags
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-19 19:38:29 -05:00
3 changed files with 25 additions and 7 deletions

View File

@@ -27,19 +27,35 @@ steps:
- npm install --prefix assets
- mix test
- name: build and publish
- name: build and publish stable
image: plugins/docker
settings:
repo: shibaobun/cannery
tags: latest
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- latest
- ${DRONE_TAG}
when:
branch:
- stable
- name: build and publish tagged version
image: plugins/docker
settings:
repo: shibaobun/cannery
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- ${DRONE_TAG}
when:
event:
- tag
- name: rebuild-cache
image: drillster/drone-volume-cache
volumes:

View File

@@ -1,8 +1,9 @@
# 0.2.1
# v0.2.1
- Fix checkbox spacing for mobile view
- Fix spacing with form elements in mobile view
- Fix user card spacing
# 0.2.0
# v0.2.0
- Add or remove tags from containers list and details page
- Show tags on containers
- Add "Cannery" to page titles
@@ -12,5 +13,5 @@
- Show shot history for an ammo group
- Show ammo round totals and total shot for ammo types
# 0.1.0
# v0.1.0
- Initial release!

View File

@@ -9,7 +9,7 @@ defmodule CanneryWeb.Components.UserCard do
~H"""
<div
id={"user-#{@user.id}"}
class="mx-4 my-2 px-8 py-4 flex flex-col justify-center items-center
class="mx-4 my-2 px-8 py-4 flex flex-col justify-center items-center text-center
border border-gray-400 rounded-lg shadow-lg hover:shadow-md
transition-all duration-300 ease-in-out"
>
@@ -21,7 +21,8 @@ defmodule CanneryWeb.Components.UserCard do
<%= if @user.confirmed_at |> is_nil() do %>
Email unconfirmed
<% else %>
User was confirmed at<%= @user.confirmed_at |> display_datetime() %>
<p>User was confirmed at</p>
<%= @user.confirmed_at |> display_datetime() %>
<% end %>
</h3>