docbrown/app/views/comments
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
..
_comment.html.erb Hide comment feature (#4944) 2019-12-10 15:09:47 -05:00
_comment_date.erb Show localized date/time on hover for articles/comments (#2722) 2019-05-09 11:05:17 -04:00
_comment_proper.html.erb Fixe html_safe issues from comment domain (#6422) 2020-03-03 15:38:15 -05:00
_form.html.erb Validate file uploads client-side (#6737) 2020-03-24 09:21:49 +01:00
_liquid.html.erb Fixe html_safe issues from comment domain (#6422) 2020-03-03 15:38:15 -05:00
_login_cta_comment.html.erb Fix linting issues in app/views/comments (#1853) [ci skip] 2019-02-25 13:03:31 -05:00
delete_confirm.html.erb Fixe html_safe issues from comment domain (#6422) 2020-03-03 15:38:15 -05:00
deleted_commentable_comment.html.erb Allow comments without a commentable to be edited and destroyed (#5945) 2020-02-25 13:45:50 -05:00
edit.html.erb Allow comments without a commentable to be edited and destroyed (#5945) 2020-02-25 13:45:50 -05:00
index.html.erb Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
index.json.jbuilder Initial commit 2018-02-28 16:11:08 -05:00
new.html.erb Fix linting issues in app/views/comments (#1853) [ci skip] 2019-02-25 13:03:31 -05:00
settings.html.erb Finalize UI for all types of notification settings (#3164) 2019-06-14 18:28:38 -04:00