Fix slackbot ping issue and tag copy (#3434)

This commit is contained in:
Ben Halpern 2019-07-09 23:06:28 -04:00 committed by GitHub
parent 091a0d1087
commit b45a55662f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 2 deletions

View file

@ -87,7 +87,7 @@ class PartnershipsController < ApplicationController
def slackbot_ping(text)
SlackBot.ping(
message: text,
text,
channel: "incoming-partners",
username: "media_sponsor",
icon_emoji: ":partyparrot:",

View file

@ -77,8 +77,11 @@
🎉 You are Subscribed as the sponsor of #<%= tag.name %>.
</div>
<% end %>
<% if Tag.where(sponsor_organization_id: org.id).any? %>
<h4>Sponsor another tag:</h4>
<% end %>
<%= select_tag "tag_name", options_for_select(Tag.where(sponsor_organization_id: nil, supported: true).pluck(:name)) %>
<button>Sponsor Tag</button>
<button>Sponsor Tag for 300 credits</button>
<p style="font-size: 0.88em;">
<em>
This subscription will renew every month with credits in your account. If there are no credits, 50 credits will be purchased at the appropriate price. You can cancel this automatic sponsorship subscription at any time.

View file

@ -5,9 +5,21 @@ Target your messaging with a tag sponsorship. This is a great way to increase y
<h3>
Logo + dedicated information area on the tag sidebar
</h3>
<p>
Each tag features a dedicated sidebar, listing the sections submission guidelines, rules, key information, and tag moderators. As a tag sponsor, you will receive prominent logo placement directly in that sidebar, along with a call-to-action to follow your organizations profile.
</p>
<p>
Youll also receive access to a dedicated content box directly in that sidebar, where youll be able to offer a short blurb about your company or service. This combo provides contextual exposure, and long-lasting value as more fans of the tag engage with and follow your company.
</p>
<h3>
Placement on our tag overview page
</h3>
<p>
Members of the DEV Community head to the dedicated tags page to explore new areas of the site, and to manage which tags they follow. Your company will be listed as a sponsor directly alongside the tag you support. This placement provides visibility to all members, even if they dont directly engage within your tag.
</p>
<h3>
Special flair on your organization profile page
</h3>
<p>
On the organization profile page, you will receive special flair that highlights your support of each tag. This acknowledgment shows off the languages and topics that your company cares about most.
</p>