docbrown/app/views/notifications
Ridhwana e74890680a
Generalize meta content and copyright year (#6887)
* chore: remove the description

* feat: change the meta og:site_name property from The Practical DEV to The <COMMUNITY_NAME> Community consistently

* refactor: change the canonical link to be more dynamic using the <%= ApplicationConfig["APP_PROTOCOL"] %><%= ApplicationConfig["APP_DOMAIN"] %>

* refactor: update the path to be dynamic

* refactor: change some other meta properties to be dynamic

* refactor: update the index

* refactor: update the sitename to just read <%= ApplicationConfig["COMMUNITY_NAME"] %> Community

* feat: copyright year should be dynamic

* feat: change the meta og:url content to be dynamic by using <%= ApplicationConfig["APP_PROTOCOL"] %><%= ApplicationConfig["APP_DOMAIN"] %> for the former part of the url

* feat: space

* refactor: move the copyright notice to a helper

* refactor: use the community_qualified_name helper!

* refactor: start year is already a string

* refactor: use app url helper instead of <%= ApplicationConfig["APP_PROTOCOL"] %><%= ApplicationConfig["APP_DOMAIN"] %> everywhere

* chore:oops

* refactor: Change  <meta name="twitter:image:src" content="http://i.imgur.com/B4JNl1w.png"> to `<meta name="twitter:image:src" content="<%= SiteConfig.main_social_image %>">` consistently.

* refactor: Replace  `<meta property="og:image" content="http://i.imgur.com/B4JNl1w.png" />` with `  <meta property="og:image" content="<%= SiteConfig.main_social_image %>" />`

* chore: update some other meta's

* feat: replace 'The Practical DEV' with 'DEV Community' and

* test: remove The :)

* test: copyright_notice

* fix: syntax error

* feat: name of community

* refactor: use app url

* fix: template strings

* fix: tag

* feat: update the app url parameters

* feat: add a community_name helper so we don't have to refer to an environment variable in the templates

* feat: take into account the case when the start year is a blank string

* feat: single quotes to double quotes

* test: add a test for the #community_name

* chore: update or codeclimate

* chore: amend the community helper

* refactor: use the community_name helper in here

* feat: update ApplicationConfig["COMMUNITY_NAME"]  with community_name

* fix: Time.current.year needs to be a string :(

* chore: extra space

* chore: change to use community_qualified_name
2020-03-31 16:15:57 +02:00
..
shared Add safety navigators to handle a missing reply (#6121) [deploy] 2020-02-17 13:50:23 -05:00
_aggregated_reactions.html.erb Remove unused aggregation reaction cache (#5104) 2019-12-13 13:18:44 -05:00
_article.html.erb Homepage UI Improvements (#5890) [deploy] 2020-02-19 11:24:44 -05:00
_badgeachievement.html.erb Adjust internal page logic and add credits copy to notifications (#3843) 2019-08-26 13:41:13 -04:00
_broadcast.html.erb [deploy] Prompt new users to customize their experience (#6959) 2020-03-30 19:17:52 -04:00
_comment.html.erb Remove notifiable access from articles and comments notifications (#5415) [deploy] 2020-01-09 10:19:45 -05:00
_follow.html.erb Fix linting issues in app/views/notifications (#1894) [ci skip] 2019-02-25 16:58:47 -05:00
_mention.html.erb Use server side comments for templates (#4123) 2019-09-27 10:10:30 -04:00
_milestone.html.erb return default aspect ratio of 1 if gif id is not present and refactor (#6837) [deploy] 2020-03-25 11:21:47 -05:00
_notifications_list.html.erb Add notification_id to honeybadger context (#6124) 2020-02-17 14:08:14 -05:00
_reaction.html.erb Add alternative texts to images (#2771) [ci skip] 2019-05-09 11:16:03 -04:00
_tagadjustment.html.erb Move from env variables to SiteConfig (#5385) [deploy] 2020-01-07 16:36:24 -05:00
index.html.erb Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00