   start: () ->
     @addElements()
     @$timer = $.timer(@updateTimer, @incrementTime, true)
-    @paused = false
 
   addElements: () ->
+    template = @$elements.find('template')
+    if template.length
+      @$nextDashboardNameTemplate = template
+    else
+      @$nextDashboardNameTemplate = $("<template>Next dashboard: $nextName in </template>")
     @$nextDashboardNameContainer = $("<span id='dc-switcher-next-name'></span>")
     @$countdown = $("<span id='dc-switcher-countdown'></span>")
-    @$manualSwitcher = $("<span id='dc-switcher-arrow' class='fa fa-forward'></span>").
+    @$manualSwitcher = $("<span id='dc-switcher-next' class='fa fa-forward'></span>").
       html(@arrowContent).
       click () =>
-        location.href = "/#{@nextDashboardName}"
-    @$switcherStopper = $("<span id='dc-switcher-stopper' class='fa fa-pause'></span>").
+        location.href = "/#{@dashboardSwitcher.nextName()}"
+    @$switcherStopper = $("<span id='dc-switcher-pause-reset' class='fa fa-pause'></span>").
       html(@stopTimerContent).
       click(@pause)
     @$elements.


# Dashboard loaded and ready
Dashing.on 'ready', ->
  window.SwitcherControls = SwitcherControls
  # If multiple widgets per list item, switch them periodically
  $('.gridster li').each (index, listItem) ->
    $listItem = $(listItem)


  start: (interval=60000) ->
    interval = parseInt(interval, 10)
    @maxPos = @dashboardNames.length - 1

    # Skip switching if no names defined
