* Removes collective_noun and collective_noun_disabled from app * Config Generalization: replaces community_qualified_name with community_name - Generalizes SiteConfig after the removal of collective_noun field - Updates copy where necessary to be readable with community_name - Makes the community_name SiteConfig description more explicit - Adds flexibility for Admins by removing appended "community" * Adds a data_update script to remove collective_noun and collective_noun_disabled * Removes appended community from stories_controller.rb * Removes unnecessary quotation marks around SiteConfig.community_name.to_s * Makes SiteConfig community_name description more explicit * Removes topic from #email_from and replaces arg with _ * Removes argument from #email_from (facepalm) * Reverts changes to application_mailer and notify_mailer_spec * Removes default "Community" topic from application_mailer and makes topic optional * Refactors #prepopulate_new_form to resolve Code Climate failures * Refactors #email_from even further by use of a ternary operator per review suggestion * Simplifies the data_update script used to remove collective_noun per review request * Adds a data_update script to append community to community_name * Updates data_update script to correctly append Community to community_name * Removes RemoveCollectiveNounFromConfig and updates other script * Removes superfluous false from data_update script * Updates data_update script to be more idiomatic
27 lines
1.3 KiB
Text
27 lines
1.3 KiB
Text
<% title("Terms of Use for #{community_name}") %>
|
|
|
|
<%= content_for :page_meta do %>
|
|
<link rel="canonical" href="<%= app_url("/terms") %>" />
|
|
<meta name="description" content="Terms of Use for <%= community_name %>">
|
|
<%= meta_keywords_default %>
|
|
|
|
<meta property="og:type" content="article" />
|
|
<meta property="og:url" content="<%= app_url("/terms") %>" />
|
|
<meta property="og:title" content="Terms of Use for <%= community_name %>" />
|
|
<meta property="og:image" content="<%= SiteConfig.main_social_image %>" />
|
|
<meta property="og:description" content="<%= community_name %> is great!" />
|
|
<meta property="og:site_name" content="<%= community_name %>" />
|
|
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="twitter:site" content="@<%= SiteConfig.social_media_handles["twitter"] %>">
|
|
<meta name="twitter:title" content="Terms of Use for <%= community_name %>">
|
|
<meta name="twitter:description" content="<%= community_name %> is great!">
|
|
<meta name="twitter:image:src" content="<%= SiteConfig.main_social_image %>">
|
|
<% end %>
|
|
|
|
<div class="crayons-layout crayons-layout--limited-l">
|
|
<div class="crayons-card text-styles text-padding">
|
|
<h1 class="fs-3xl s:fs-4xl l:fs-5xl fw-bold s:fw-heavy lh-tight mb-4 mt-0">Web Site Terms and Conditions of Use</h1>
|
|
<%= render "terms_text" %>
|
|
</div>
|
|
</div>
|