From ddcef33636e06fac90ed81cb25928e0aa1bcdb6c Mon Sep 17 00:00:00 2001 From: David Gay Date: Wed, 14 Jul 2021 18:36:31 -0400 Subject: Display activity description above costs and requirements --- CHANGELOG.md | 3 +++ app/views/activities/_costs_and_requirements.html.erb | 1 + 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d41a430..54c89eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,9 @@ All notable changes to this project will be documented in this file. ### Hearth - Hearths now have locations, like characters do. All existing hearths are now located at Floret. +### UI +- Activity description is now displayed above costs and requirements. + ### Web - Favicon added (contributed by mattagarr). diff --git a/app/views/activities/_costs_and_requirements.html.erb b/app/views/activities/_costs_and_requirements.html.erb index 6ae66bb..5fb6f9b 100644 --- a/app/views/activities/_costs_and_requirements.html.erb +++ b/app/views/activities/_costs_and_requirements.html.erb @@ -1,5 +1,6 @@
<%= @text %> +

<%= @activity.description %>

Costs: <%= @activity.costs&.join(", ") || "None" %>

Requires: <%= @activity.requirements&.join(", ") || "None" %>

-- cgit v1.2.3