Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating address in event and fixing bug in address display for all events #202

Merged
merged 5 commits into from
Nov 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,29 @@ host: Will Slack
registration_url: https://www.eventbrite.com/e/workshop-making-government-websites-with-federalist-github-basics-registration-39457265744
youtube_id:
venue:
venue_name: The General Services Administration
venue_name: U.S. General Services Administration
room: 4150
address: 1800 F St.
address: 1800 F Street NW
city: Washington
state: D.C.
zip: 20006
zip: 20405
country: USA
map: https://goo.gl/maps/bFWBD6QfDLA2

---

Come learn how to create a simple, compliant government website, using Federalist, GitHub and the U.S. Web Design Standards.
Come learn how to create a simple, compliant government website using [GitHub](https://www.github.com/), [Federalist](https://federalist.18f.gov/), and the [U.S. Web Design Standards](https://standards.usa.gov/).

This workshop will provide you and your team with an overview of using TTS’s new government-specific tools in combination with GitHub. Then we’ll show you how, together, they make it easier than ever to create and launch compliant, government websites.
This workshop will provide you and your team with an overview of using two new government-specific tools from the Technology Transformation Service (TTS) with GitHub. Then we’ll show you how, together, they make it easier than ever to create and launch compliant government websites.

The second part of the workshop is your chance to get hands-on experience with these tools. We are designing three breakout sessions aimed at helping those on your team publish on Federalist by the end of the day.
The second part of the workshop will be your chance to get hands-on experience with these tools. We are designing three breakout sessions aimed at helping those on your team publish on Federalist by the end of the day.

### Schedule
* 9 - 9:15am — Arrivals
* 9:15 - 10am — Federalist overview
* 10 - 10:45am — Breakout working groups
* 10:45am — Take temperature of the room
* 10:45 11am - Break
* 10:45 - 11am Break
* 11 - 12:00pm — Further learning and discussion


Expand All @@ -42,5 +42,5 @@ When you register for the event, we’d like to know:
* Do you have a website you think Federalist might be a good candidate for hosting?
* If so, tell us about the website
* Are you interested in learning how to design, code, and build Federalist websites?
* Are you interested in more details on managing a Federalist site in your agency? (non technical discussion)
* Are you interested in more details on managing a Federalist site in your agency? (non-technical discussion)
* Any other areas/questions you’d like us to cover at this event?
2 changes: 1 addition & 1 deletion content/pages/new-event.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ <h4>Venue</h4>
<div class="checkbox">
<label class="m_1800f">
<input name="m_1800f" type="checkbox" value="1800f">
1800 F St. Washington D.C. 20006
1800 F Street NW, Washington D.C. 20405
</label>
</div>
<label class="m_room">
Expand Down
10 changes: 5 additions & 5 deletions themes/digital.gov/layouts/events/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <h3 class="tribe-events-visuallyhidden">Event Navigation</h3>
</p><hr/>
{{ end }}
<p><strong>Location</strong><br />
{{ with .Params.venue.venue_name }}{{ . }}000000<br />{{ end }}
{{ with .Params.venue.venue_name }}{{ . }}<br />{{ end }}
{{ .Params.venue.address }}<br />
{{ .Params.venue.city }}, {{ .Params.venue.state }}<br />
{{ with .Params.venue.zip }}{{ . }} {{ end }}{{ .Params.venue.country }}<br />
Expand All @@ -139,7 +139,7 @@ <h3 class="tribe-events-visuallyhidden">Event Navigation</h3>
<!-- else if "in-person" -->
{{ else }}
<p><strong>Location</strong><br />
{{ .Params.venue.venue_name }}121212121<br />
{{ .Params.venue.venue_name }}<br />
{{ .Params.venue.address }}<br />
{{ .Params.venue.city }}, {{ .Params.venue.state }} {{ .Params.venue.zip }}<br />
Room: {{ .Params.venue.room }}<br />
Expand Down Expand Up @@ -272,10 +272,10 @@ <h3 class="tribe-events-single-section-title"> Venue </h3>
<span class="tribe-locality">{{ $venue.city }}</span><span class="tribe-delimiter">,</span>
{{/* TODO: String lookup for full state name */}}
<abbr class="tribe-region tribe-events-abbr" title="{{/* full-state-name */}}">{{ $venue.state }}</abbr>
<span class="tribe-postal-code">{{ $venue.zip }}</span>
<span class="tribe-country-name">{{ $venue.country }}</span>
<span class="tribe-postal-code">{{ $venue.zip }}</span><br>
<a href="{{ $venue.map }}">View map</a>
</span>
<a href="{{ $venue.map }}">{{ $venue.map}}</a>

</address>
</dd><!-- .tribe-venue-location -->
</dl>
Expand Down
6 changes: 3 additions & 3 deletions themes/digital.gov/static/js/front-matter.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,11 @@ jQuery(document).ready(function($) {

function set_1800f(set){
if (set == true) {
$('.m_venue_name input').val('The General Services Administration').prop("readonly", true).addClass('quiet');
$('.m_address input').val('1800 F St.').prop("readonly", true).addClass('quiet');
$('.m_venue_name input').val('U.S. General Services Administration').prop("readonly", true).addClass('quiet');
$('.m_address input').val('1800 F Street NW').prop("readonly", true).addClass('quiet');
$('.m_city input').val('Washington').prop("readonly", true).addClass('quiet');
$('.m_state input').val('D.C.').prop("readonly", true).addClass('quiet');
$('.m_zip input').val('20006').prop("readonly", true).addClass('quiet');
$('.m_zip input').val('20405').prop("readonly", true).addClass('quiet');
$('.m_country input').val('USA').prop("readonly", true).addClass('quiet');
$('.m_map input').val('https://goo.gl/maps/bFWBD6QfDLA2').prop("readonly", true).addClass('quiet');
get_matter_data();
Expand Down