Skip to content

Commit

Permalink
Add IT as another source kind
Browse files Browse the repository at this point in the history
Signed-off-by: Miquel Sabaté Solà <[email protected]>
  • Loading branch information
mssola committed Jul 22, 2024
1 parent aee7346 commit 0944441
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/things.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ h5 a {
background-color: #ecbaff;
}

.dot_it {
background-color: #008000;
}

.dot_bio {
background-color: #81d41a;
}
2 changes: 1 addition & 1 deletion app/models/thing.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions config/locales/ca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,5 @@ ca:
letters: Epistolar
phd: Tesi doctoral
chronicle: Historiografia
it: Enginyeria informàtica
bio: Biografia
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,4 @@ en:
phd: Doctoral thesis
chronicle: Historiography
bio: Biography
it: Computer engineering & IT

0 comments on commit 0944441

Please sign in to comment.