Skip to content

Commit

Permalink
added details about scoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarconr committed Nov 8, 2012
1 parent 7677767 commit 30d16fa
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/views/feedback_votes/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<style>
table {
vertical-align: top;
}
.votes .vote {
text-align: right;
}
Expand All @@ -12,11 +15,21 @@
.votes .title {
padding-top: 20px;
}
ul {
list-style: none;
}
</style>

<%= link_to "Tilbake til foredrag", @talk %><br />
<% if @talk.users.include?(current_user)|| admin? %>

<br />
<ul>
<li>Min score: 1</li>
<li>Max score: 6</li>
<li>Konferansesnitt: <%= @total_avg %></li>
</ul>

<% sum=0.0; count=0.0; %>
<table class="votes" cellspacing="0" cellpadding: "0">
<tr>
Expand Down

0 comments on commit 30d16fa

Please sign in to comment.