Commit b2a7d78
Changed files (3)
app
assets
javascripts
templates
views
views
sets
app/assets/javascripts/templates/workout_view.ractive
@@ -11,7 +11,7 @@
<a href="#panel-{{id}}">{{name}}</a>
<div id="panel-{{id}}" class="content">
{{#each sets}}
- <div class="row panel {{type}}">
+ <div class="row">
<div class="columns small-3">
<button id='{{id}}' on-click="updateProgress" class="button round {{status}}">
{{actual_repetitions}}
app/assets/javascripts/views/workout_view.js.coffee
@@ -35,9 +35,6 @@ class Stronglifters.WorkoutView extends Ractive
@clock.start()
refreshStatus: (model, keypath) ->
- if @get("#{keypath}.work")
- @set("#{keypath}.type", "callout")
-
if !model.started()
@set("#{keypath}.status", "secondary")
return
app/views/sets/_set.jbuilder
@@ -1,6 +1,4 @@
json.id set.id
-json.work set.work?
-json.warm_up set.warm_up?
json.target_weight set.target_weight
json.target_repetitions set.target_repetitions
json.actual_repetitions set.actual_repetitions