diff options
-rw-r--r-- | assets/stylesheets/responsive/custom.scss | 7 | ||||
-rw-r--r-- | lib/model_patches.rb | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/assets/stylesheets/responsive/custom.scss b/assets/stylesheets/responsive/custom.scss index eb0da5f..b05e2ce 100644 --- a/assets/stylesheets/responsive/custom.scss +++ b/assets/stylesheets/responsive/custom.scss @@ -550,7 +550,7 @@ div.correspondence { .incoming.correspondence { border-top: 8px solid $color_secondary; - a { + .correspondence_text a { color: $color_secondary; } a.link_to_this { @@ -565,6 +565,11 @@ div.correspondence { } } +a.correspondence__header__date, +a.correspondence__header__date:visited { + color: #777; +} + .describe_state_form input[type="radio"] + label { display:inline; } diff --git a/lib/model_patches.rb b/lib/model_patches.rb index 7f3b4de..b0c906f 100644 --- a/lib/model_patches.rb +++ b/lib/model_patches.rb @@ -10,6 +10,10 @@ Rails.configuration.to_prepare do # OutgoingMessage.class_eval do # # Add intro paragraph to new request template # def default_letter + # # this line allows the default_letter text added by this + # # method to be replaced by the value supplied by the API + # # e.g. http://demo.alaveteli.org/new/tgq?default_letter=this+is+a+test + # return @default_letter if @default_letter # return nil if self.message_type == 'followup' # "If you uncomment this line, this text will appear as default text in every message" # end |