Skip to content

Commit

Permalink
Fixed styling on event date and making the twitter handle into a link
Browse files Browse the repository at this point in the history
  • Loading branch information
flukeout committed Apr 18, 2016
1 parent 759160e commit 8d844f3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
7 changes: 7 additions & 0 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,13 @@ function showPop(id){
value = numberWithCommas(value);
}

if(j == "club-contact-details"){
if(value.length > 0) {
value = value.replace("@","");
value = "https://twitter.com/" + value;
}
}

if(value.length == 0){
value = "Not filled in";
pop.find("." + j + " .value").addClass("not-specified").parent().addClass("not-specified");
Expand Down
7 changes: 4 additions & 3 deletions style.less
Original file line number Diff line number Diff line change
Expand Up @@ -433,16 +433,17 @@ header {
.event-date {
text-align: right;
display: block;
font-size: 18px;
margin: 0 0 5px 0;
float: right;
font-size: 20px;
margin: 0 0 5px 15px;
position: relative;
color: rgba(0,0,0,.5);
}

h1 {
font-weight: 400;
padding: 0 0 2px 0;
margin: 0 0 30px 0;
margin: 10px 0 30px 0;
font-size: 28px;
border-bottom: solid 2px #ddd;
}
Expand Down

0 comments on commit 8d844f3

Please sign in to comment.