From 0944441ab86dd815c8d942d1347286b3ac8f2fcb Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 22 Jul 2024 14:34:09 +0200 Subject: Add IT as another source 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 ccc79df..154232b 100644 --- a/app/assets/stylesheets/things.css +++ b/app/assets/stylesheets/things.css @@ -109,6 +109,10 @@ h5 a { background-color: #ecbaff; } +.dot_it { + background-color: #008000; +} + .dot_bio { background-color: #81d41a; } diff --git a/app/models/thing.rb b/app/models/thing.rb index 01f59e9..f3596f1 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 bio], validate: true + novel paper letters phd chronicle bio it], validate: true # Returns all things which match the given text for any of the string columns # from the table. -- cgit v1.2.3