aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-07-22 14:34:09 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-07-22 14:34:09 +0200
commit0944441ab86dd815c8d942d1347286b3ac8f2fcb (patch)
tree20eefcccac6f02701eaa0a7719d57c94e7538297 /app
parentaee73465c69d455f9e0db0e4e5a1f7b54ea3e92e (diff)
downloadoperum-0944441ab86dd815c8d942d1347286b3ac8f2fcb.tar.gz
operum-0944441ab86dd815c8d942d1347286b3ac8f2fcb.zip
Add IT as another source kind
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/things.css4
-rw-r--r--app/models/thing.rb2
2 files changed, 5 insertions, 1 deletions
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.