Skip to content

Commit

Permalink
fix: use app name if any && bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Dim145 committed Mar 28, 2024
1 parent 3aff4e6 commit 0e59a4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/mailers/layout_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def getSchoolLogo
end
end

def get_button_school_link(text = "Se rendre sur Elvis")
def get_button_school_link(text = "Se rendre sur #{Parameter.get_value("app.name") || "Elvis"}")
"<a href='#{Rails.env.kubernetes? ? "https://#{ENV['DOMAIN']}/" : root_url}' target='_blank' class='v-button' style='box-sizing: border-box;display: inline-block;text-decoration: none;-webkit-text-size-adjust: none;text-align: center;color: #000000; background-color: #86d69e; border-radius: 4px;-webkit-border-radius: 4px; -moz-border-radius: 4px; width:auto; max-width:100%; overflow-wrap: break-word; word-break: break-word; word-wrap:break-word; mso-border-alt: none;font-size: 14px;'>
<span style='display:block;padding:10px 20px;line-height:120%;'>
<span style='line-height: 16.8px;'>
Expand Down
2 changes: 1 addition & 1 deletion lib/elvis/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Elvis
VERSION = "2.2.8"
VERSION = "2.2.9"
end

0 comments on commit 0e59a4b

Please sign in to comment.