Skip to content

Commit

Permalink
Add Mayor as a sponsor
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Jan 20, 2012
1 parent 9d3522e commit ba630c5
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 2 deletions.
Binary file modified app/assets/images/logos/boston.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 20 additions & 2 deletions app/assets/stylesheets/screen.css
Expand Up @@ -223,23 +223,41 @@ fieldset {
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.sidebar #logos {
height: 100px;
}

.sidebar #logos #col1 {
float: left;
margin-left: 20px;
width: 100px;
}

.sidebar #logos #col1 img {
float: left;
margin-top: 5px;
margin: 5px 0;
}

.sidebar #logos #col2 {
float: left;
margin-left: 10px;
width: 100px;
}

.sidebar #mayor {
font-family: "Times New Roman", Times, serif;
font-size: 8px;
padding: 0;
margin: -5px 0 0 0;
}

.sidebar #mayor a, .sidebar #mayor a:active, .sidebar #mayor a:hover, .sidebar #mayor a:visited {
color: #000;
text-decoration: none;
}

.sidebar #feedback {
clear: both;
margin-top: 5px;
}

.map-container {
Expand Down
5 changes: 5 additions & 0 deletions app/views/main/index.html.haml
Expand Up @@ -21,6 +21,11 @@
#col2
%a{:href => "http://www.cityofboston.gov/"}
= image_tag "logos/boston.png", :alt => t("sponsors.city"), :title => t("sponsors.city")
%p#mayor
%a{:href => "http://www.cityofboston.gov/mayor/"}
= "#{t("sponsors.mayor.name")},"
%em
= t("sponsors.mayor.title")
#feedback
%p
%a{:href => URI.escape("mailto:adoptahydrant@cityofboston.gov?subject=#{t("titles.main", :thing => t("defaults.thing").titleize)} #{t("links.feedback").titleize}")}
Expand Down
3 changes: 3 additions & 0 deletions config/locales/de.yml
Expand Up @@ -86,3 +86,6 @@ de:
built: "Erbaut in Boston"
cfa: "Code für Amerika"
city: "City of Boston"
mayor:
name: "Thomas M. Menino"
title: "Mayor"
3 changes: 3 additions & 0 deletions config/locales/en.yml
Expand Up @@ -86,3 +86,6 @@ en:
built: "Built in Boston"
cfa: "Code for America"
city: "City of Boston"
mayor:
name: "Thomas M. Menino"
title: "Mayor"
3 changes: 3 additions & 0 deletions config/locales/es.yml
Expand Up @@ -86,3 +86,6 @@ es:
built: "Construido en Boston"
cfa: "Código de los Estados Unidos"
city: "Ciudad de Boston"
mayor:
name: "Thomas M. Menino"
title: "Mayor"
3 changes: 3 additions & 0 deletions config/locales/fr.yml
Expand Up @@ -86,3 +86,6 @@ fr:
built: "Construit à Boston"
cfa: "Code pour l'Amérique"
city: "Ville de Boston"
mayor:
name: "Thomas M. Menino"
title: "Mayor"
3 changes: 3 additions & 0 deletions config/locales/pt.yml
Expand Up @@ -86,3 +86,6 @@ pt:
built: "Construído em Boston"
cfa: "Código para a América"
city: "Cidade de Boston"
mayor:
name: "Thomas M. Menino"
title: "Mayor"

0 comments on commit ba630c5

Please sign in to comment.