Skip to content

Commit

Permalink
fixed bug with species counts. Adjusted large map height.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Cottman-Fields committed Apr 10, 2013
1 parent d7cf838 commit 4ec137f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/assets/templates/tour_experiment.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

#transitionMap {
width: 100%;
height: 450px;
height: 550px;
margin: 6px 0 10px 0;
}

Expand Down Expand Up @@ -493,7 +493,7 @@ <h3 class="sectionTitle">Distribution</h3>

</div>

<div class="exampleContainer" style="width:48%;overflow:hidden;">
<div class="exampleContainer" style="width:47%;overflow:hidden;">
<h3 class="sectionTitle">Examples</h3>

<div ng-repeat="currentAnnotation in currentExamples" class="annotation"
Expand Down Expand Up @@ -548,7 +548,7 @@ <h3 class="sectionTitle verifyInstructions">Are there {{currentSpecies.commonNam
calls in these audio recordings?</h3>

<p style="margin:3px 0 3px 0;text-align:center;">
<span style="font-size:14px;font-weight:bold;">Play the audio, and look at the specrograms.</span>
<span style="font-size:14px;font-weight:bold;">Play the audio, and look at the spectrograms.</span>
Then indicate your opinion by responding
<em>'Yes'</em> if the audio recording contains any {{currentSpecies.commonName}} calls;
<em>'No'</em> if there are no {{currentSpecies.commonName}} calls in the audio recording;
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/experiments_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def update_bird_tour_counts(order)
if counts['species'].has_key?(species_key)
current = counts['species'][species_key][species_value]['count']
current = current + 1
counts['species'][species_key][species_value]['count'] += current
counts['species'][species_key][species_value]['count'] = current
end
}

Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title><%= content_for?(:title) ? yield(:title) : "Baw Site" %></title>
<meta name="description" content="<%= content_for?(:description) ? yield(:description) : "Baw Site" %>">

<%= stylesheet_link_tag "application", :media => "all" %>
<%= stylesheet_link_tag "application", media: "all" %>
<%= javascript_include_tag "application" %>
<!--<script src="https://login.persona.org/include.js"></script>-->
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAWT_qg_GDQVSlQB9O_1CEQf8l4bErP5Ek&sensor=false"></script>
Expand Down

0 comments on commit 4ec137f

Please sign in to comment.