Merge pull request #501 from bitcoin/submitevent

Add a pre-populated "Submit an event" link on the "Events" page
This commit is contained in:
saivann 2014-08-05 11:50:23 -04:00
commit e4587c2d6d
4 changed files with 33 additions and 5 deletions

View file

@ -228,6 +228,10 @@ body{
zoom:1;
display:inline;
}
.eventtable span a{
zoom:1;
display:inline;
}
.alert-message a:hover,
.alert-message a:hover:link,

View file

@ -1769,6 +1769,30 @@ h2 .rssicon{
.eventtable div div:first-child+div+div{
width:300px;
}
.eventtable span a,
.eventtable span a:link,
.eventtable span a:active,
.eventtable span a:visited{
display:inline-block;
padding:6px 12px;
margin:15px 0 30px 0;
font-size:115%;
color:#fff;
border:1px solid #d57700;
background-color:#ee9209;
background-image:-o-linear-gradient(bottom, #e28700 14%, #ee9209 70%);
background-image:-moz-linear-gradient(bottom, #e28700 14%, #ee9209 70%);
background-image:-webkit-linear-gradient(bottom, #e28700 14%, #ee9209 70%);
background-image:-ms-linear-gradient(bottom, #e28700 14%, #ee9209 70%);
background-image:linear-gradient(bottom, #e28700 14%, #ee9209 70%);
-webkit-border-radius:3px;
-moz-border-radius:3px;
border-radius:3px;
}
.eventtable span a:hover{
background-image:none;
color:#fff;
}
.detectmobile{
width:0;

View file

@ -43,10 +43,9 @@ map.addLayer(markers);
{% filter_for p in site.conferences sort_by:date %}
<div><div>{{ p.date | date:"%Y-%m-%d" }}</div><div><a href="{{ p.link | htmlescape }}">{{ p.title | htmlescape }}</a></div><div>{{ p.city | htmlescape }}, {{ p.country | htmlescape }}</div></div>
{% endfilter_for %}
<span><a href="https://github.com/bitcoin/bitcoin.org/issues/new?title=New%20event&amp;body=date%3A%20YYYY-MM-DD%0Atitle%3A%20%22%22%0Avenue%3A%20%22%22%0Aaddress%3A%20%22%22%0Acity%3A%20%22%22%0Acountry%3A%20%22%22%0Alink%3A%20%22%22">{% translate eventsubmit %}</a></span>
</div>
<ul>
<li>{% translate meetupgroup %}</li>
<li>{% translate meetupbitcointalk %}</li>
<li>{% translate meetupwiki %}</li>
</ul>
<p>{% translate meetupgroup %}</p>
<p>{% translate meetupbitcointalk %}</p>
<p>{% translate meetupwiki %}</p>

View file

@ -214,6 +214,7 @@ en:
pagetitle: "Conferences and events"
pagedesc: "Find events, conferences and meetups all over the world."
upcoming: "Upcoming events and conferences"
eventsubmit: "Submit an event"
meetupbitcointalk: "<a href=\"https://bitcointalk.org/index.php?board=86.0\">Bitcoin meetups on BitcoinTalk</a>"
meetupwiki: "<a href=\"https://en.bitcoin.it/wiki/Meetups\">Bitcoin meetups on the Wiki</a>"
meetupgroup: "<a href=\"http://bitcoin.meetup.com/\">Bitcoin meetup groups</a>"