Add Mayor as a sponsor

This commit is contained in:
Erik Michaels-Ober 2012-01-20 12:30:08 -08:00
parent 9d3522e596
commit ba630c5673
8 changed files with 40 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -223,23 +223,41 @@ fieldset {
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
} }
.sidebar #logos {
height: 100px;
}
.sidebar #logos #col1 { .sidebar #logos #col1 {
float: left; float: left;
margin-left: 20px; margin-left: 20px;
width: 100px;
} }
.sidebar #logos #col1 img { .sidebar #logos #col1 img {
float: left; float: left;
margin-top: 5px; margin: 5px 0;
} }
.sidebar #logos #col2 { .sidebar #logos #col2 {
float: left; float: left;
margin-left: 10px; 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 { .sidebar #feedback {
clear: both; margin-top: 5px;
} }
.map-container { .map-container {

View File

@ -21,6 +21,11 @@
#col2 #col2
%a{:href => "http://www.cityofboston.gov/"} %a{:href => "http://www.cityofboston.gov/"}
= image_tag "logos/boston.png", :alt => t("sponsors.city"), :title => t("sponsors.city") = 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 #feedback
%p %p
%a{:href => URI.escape("mailto:adoptahydrant@cityofboston.gov?subject=#{t("titles.main", :thing => t("defaults.thing").titleize)} #{t("links.feedback").titleize}")} %a{:href => URI.escape("mailto:adoptahydrant@cityofboston.gov?subject=#{t("titles.main", :thing => t("defaults.thing").titleize)} #{t("links.feedback").titleize}")}

View File

@ -86,3 +86,6 @@ de:
built: "Erbaut in Boston" built: "Erbaut in Boston"
cfa: "Code für Amerika" cfa: "Code für Amerika"
city: "City of Boston" city: "City of Boston"
mayor:
name: "Thomas M. Menino"
title: "Mayor"

View File

@ -86,3 +86,6 @@ en:
built: "Built in Boston" built: "Built in Boston"
cfa: "Code for America" cfa: "Code for America"
city: "City of Boston" city: "City of Boston"
mayor:
name: "Thomas M. Menino"
title: "Mayor"

View File

@ -86,3 +86,6 @@ es:
built: "Construido en Boston" built: "Construido en Boston"
cfa: "Código de los Estados Unidos" cfa: "Código de los Estados Unidos"
city: "Ciudad de Boston" city: "Ciudad de Boston"
mayor:
name: "Thomas M. Menino"
title: "Mayor"

View File

@ -86,3 +86,6 @@ fr:
built: "Construit à Boston" built: "Construit à Boston"
cfa: "Code pour l'Amérique" cfa: "Code pour l'Amérique"
city: "Ville de Boston" city: "Ville de Boston"
mayor:
name: "Thomas M. Menino"
title: "Mayor"

View File

@ -86,3 +86,6 @@ pt:
built: "Construído em Boston" built: "Construído em Boston"
cfa: "Código para a América" cfa: "Código para a América"
city: "Cidade de Boston" city: "Cidade de Boston"
mayor:
name: "Thomas M. Menino"
title: "Mayor"