From cb9113ceff41ed374e4ecce2583b4f9e3ff506dc Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 18 Mar 2024 13:58:17 +0100 Subject: thing: added 'bio' kind MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- app/assets/stylesheets/things.css | 4 ++++ app/models/thing.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/assets/stylesheets/things.css b/app/assets/stylesheets/things.css index 2fc89ff..f4276ce 100644 --- a/app/assets/stylesheets/things.css +++ b/app/assets/stylesheets/things.css @@ -104,3 +104,7 @@ h5 a { .dot_chronicle { background-color: #ecbaff; } + +.dot_bio { + background-color: #81d41a; +} diff --git a/app/models/thing.rb b/app/models/thing.rb index 4289b76..a67d38e 100644 --- a/app/models/thing.rb +++ b/app/models/thing.rb @@ -14,7 +14,7 @@ class Thing < ApplicationRecord enum :status, %i[read notread tobepublished], validate: true enum :kind, %i[other poetry theater essay shorts - novel paper letters phd chronicle], validate: true + novel paper letters phd chronicle bio], validate: true # Returns all things which match the given text for any of the string columns # from the table. -- cgit v1.2.3