Skip to content

Commit

Permalink
Update title in new theme
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Nov 6, 2023
1 parent 5a781a6 commit e297ba2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/controllers/applications_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ class ApplicationsController < ApplicationController
def index
authority_id = T.cast(params[:authority_id], T.nilable(String))

description = +"Recent applications within the last #{Application.nearby_and_recent_max_age_months} months"

description = if show_tailwind_theme?
+"Most recent applications across Australia"
else
+"Recent applications within the last #{Application.nearby_and_recent_max_age_months} months"
end
if authority_id
# TODO: Handle the situation where the authority name isn't found
authority = Authority.find_short_name_encoded!(authority_id)
Expand Down

0 comments on commit e297ba2

Please sign in to comment.