Add In Progress link, change tweet for in-progress

This commit is contained in:
Josh Davis
2014-03-17 18:55:17 -05:00
parent f82d9b93b4
commit bf6f4a6718
3 changed files with 23 additions and 4 deletions
+1
View File
@@ -291,6 +291,7 @@ sections:
- name: Bitbucket
url: https://bitbucket.org
twitter: bitbucket
status: https://twitter.com/bitbucket/status/445631335169028096
img: bitbucket.png
tfa: No
+4 -2
View File
@@ -12,8 +12,6 @@ body {
background: none;
}
.sidenav {
position: fixed;
}
@@ -50,6 +48,10 @@ td.icon {
text-align: center;
}
td span.progress {
float: right;
}
td a {
/*color: #505050;*/
}
+18 -2
View File
@@ -1,6 +1,11 @@
---
layout: default
message: Security is important, @TWITTERHANDLE. We'd like if you supported two factor auth.
link: Tell them to support 2FA
tweet: Security is important, @TWITTERHANDLE. We'd like if you supported two factor auth.
link_progress: Tell them thanks for working on 2FA
tweet_progress: Thanks for working on support for two factor auth, @TWITTERHANDLE!
hash: SupportTwoFactorAuth
---
@@ -135,11 +140,22 @@ hash: SupportTwoFactorAuth
<img src="/img/{{ section.id }}/{{ website.img }}" class="icon" alt="{{ website.name }}">
{% endif %}
<a href="{{ website.url }}">{{ website.name }}</a>
{% if website.status %}
<span class="progress">
<a class="ui mini orange button" href="{{website.status}}" target="_blank">
<i class="star icon"></i> In Progress!
</a>
</span>
{% endif %}
</td>
{% if website.twitter %}
<td class="twitter main negative" colspan="5">
<a class="ui twitter mini button" href="https://twitter.com/share?url={{site.url|cgi_escape}}&text={{page.message|replace:'TWITTERHANDLE',website.twitter|cgi_escape}}&hashtags={{page.hash|cgi_escape}}" target="_blank"><i class="twitter icon"></i> Tell them to support 2FA</a>
{% if website.status %}
<a class="ui twitter mini button" href="https://twitter.com/share?url={{site.url|cgi_escape}}&text={{page.tweet_progress|replace:'TWITTERHANDLE',website.twitter|cgi_escape}}&hashtags={{page.hash|cgi_escape}}" target="_blank"><i class="twitter icon"></i> {{page.link_progress}}</a>
{% else %}
<a class="ui twitter mini button" href="https://twitter.com/share?url={{site.url|cgi_escape}}&text={{page.tweet|replace:'TWITTERHANDLE',website.twitter|cgi_escape}}&hashtags={{page.hash|cgi_escape}}" target="_blank"><i class="twitter icon"></i> {{page.link}}</a>
</td>
{% endif %}
{% else %}
<td class="negative icon"><i class="remove large icon"></td>
<td class="negative icon"><i class="remove large icon"></td>