diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2024-03-18 13:58:17 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2024-03-18 13:58:17 +0100 |
| commit | cb9113ceff41ed374e4ecce2583b4f9e3ff506dc (patch) | |
| tree | 166471386f9b441628c0f619bd29bc7b5f7bc67d /app | |
| parent | 13f522f8022a99dc9e6ae2f56582072c5fc8c17a (diff) | |
| download | operum-cb9113ceff41ed374e4ecce2583b4f9e3ff506dc.tar.gz operum-cb9113ceff41ed374e4ecce2583b4f9e3ff506dc.zip | |
thing: added 'bio' kind
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'app')
| -rw-r--r-- | app/assets/stylesheets/things.css | 4 | ||||
| -rw-r--r-- | app/models/thing.rb | 2 |
2 files changed, 5 insertions, 1 deletions
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. |
