diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-07-22 14:34:09 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-07-22 14:34:09 +0200 |
| commit | 0944441ab86dd815c8d942d1347286b3ac8f2fcb (patch) | |
| tree | 20eefcccac6f02701eaa0a7719d57c94e7538297 | |
| parent | aee73465c69d455f9e0db0e4e5a1f7b54ea3e92e (diff) | |
| download | operum-0944441ab86dd815c8d942d1347286b3ac8f2fcb.tar.gz operum-0944441ab86dd815c8d942d1347286b3ac8f2fcb.zip | |
Add IT as another source kind
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
| -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 |
