aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/assets/stylesheets/things.css4
-rw-r--r--app/models/thing.rb3
-rw-r--r--config/locales/ca.yml1
-rw-r--r--config/locales/en.yml1
4 files changed, 8 insertions, 1 deletions
diff --git a/app/assets/stylesheets/things.css b/app/assets/stylesheets/things.css
index 7d2a424..2fc89ff 100644
--- a/app/assets/stylesheets/things.css
+++ b/app/assets/stylesheets/things.css
@@ -100,3 +100,7 @@ h5 a {
.dot_phd {
background-color: #cccccc;
}
+
+.dot_chronicle {
+ background-color: #ecbaff;
+}
diff --git a/app/models/thing.rb b/app/models/thing.rb
index a27951f..4289b76 100644
--- a/app/models/thing.rb
+++ b/app/models/thing.rb
@@ -13,7 +13,8 @@ class Thing < ApplicationRecord
has_many :tags, through: :tag_references
enum :status, %i[read notread tobepublished], validate: true
- enum :kind, %i[other poetry theater essay shorts novel paper letters phd], validate: true
+ enum :kind, %i[other poetry theater essay shorts
+ novel paper letters phd chronicle], 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 69670de..9e25d08 100644
--- a/config/locales/ca.yml
+++ b/config/locales/ca.yml
@@ -138,3 +138,4 @@ ca:
paper: Article
letters: Epistolar
phd: Tesi doctoral
+ chronicle: Historiografia
diff --git a/config/locales/en.yml b/config/locales/en.yml
index e4196d4..9f64086 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -138,3 +138,4 @@ en:
paper: Paper
letters: Letters
phd: Doctoral thesis
+ chronicle: Historiography