diff options
| -rw-r--r-- | app/assets/stylesheets/things.css | 4 | ||||
| -rw-r--r-- | app/models/thing.rb | 2 | ||||
| -rw-r--r-- | config/locales/ca.yml | 1 | ||||
| -rw-r--r-- | config/locales/en.yml | 1 |
4 files changed, 7 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. diff --git a/config/locales/ca.yml b/config/locales/ca.yml index 0bfe01e..af9dec7 100644 --- a/config/locales/ca.yml +++ b/config/locales/ca.yml @@ -144,4 +144,5 @@ ca: letters: Epistolar phd: Tesi doctoral chronicle: Historiografia + it: Enginyeria informàtica bio: Biografia diff --git a/config/locales/en.yml b/config/locales/en.yml index 7bfe478..d593910 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -145,3 +145,4 @@ en: phd: Doctoral thesis chronicle: Historiography bio: Biography + it: Computer engineering & IT |
