anchor.diff:                              th(ng-if='isTeacher()') State
                               th(ng-if='isTeacher()') Delete
                       tbody
  -                        tr(ng-repeat='localactivity in activities')
  +                        tr(ng-if='activities.length == 0')
  +                            td(colspan=6)
  +                                div.alert.alert-info(style='margin-bottom: 0px') No activities found
  +                        tr(ng-repeat='localactivity in activities', ng-controller='ActivityCtrl' activity='{{ localactivity }}')
                               td
                                   span.glyphicon.glyphicon-stats
  -                                a(ng-href="#" ng-click='setSelectedActivity(localactivity, "data")') {{ localactivity.name }}
  +                                a(ng-href="#" ng-click='goToActivity(localactivity)') {{ localactivity.name }}
                               td
  -                                a(ng-href='gameactivity?game={{localactivity.gameId}}', ng-click='setSelectedGame(getGameById(localactivity.gameId))') {{ getGameById(localactivity.gameId).title }}
  +                                a(ng-href='#', ng-click='goToGame(getGameById(localactivity.gameId))') {{ getGameById(localactivity.gameId).title }}
                               td
  -                                a(ng-href='#', ng-click='setSelectedClass(getClassById(localactivity.classId),"classactivity")') {{ getClassById(localactivity.classId).name }}
  +                                a(ng-href='#', ng-click='goToClass(getClassById(localactivity.classId))') {{ getClassById(localactivity.classId).name }}
                               td {{localactivity._id | prettyDateId }}
                               td(ng-if='isTeacher()')
                                   button.btn-success(ng-if='!loading && activityState(localactivity)' ng-click='endActivity(localactivity)') Opened
  
positive.code:     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.
   
  .container(ng-controller='AppCtrl')
      .theme-showcase(ng-if='!isDeveloper()').col-md-12
          .panel.panel-default(ng-controller='ActivitiesCtrl')
              .panel-heading My Activities
              .panel-body
                  .panel.panel-primary(ng-if='isTeacher()')
  
negative.code:                             td(ng-if='isTeacher()')
                                  a(ng-click='deleteActivity(localactivity)')
                                      span.glyphicon.glyphicon-remove-sign
      //- Games
      .theme-showcase(ng-class='(isDeveloper() ? "col-md-12" : "col-md-6")')
          .panel.panel-default(ng-controller='GamesCtrl')
              .panel-heading(ng-if='isDeveloper()') My Games
              .panel-heading(ng-if='!isDeveloper()') Public Games
              .panel-body
                  .panel.panel-primary(ng-if='isDeveloper()')
                      .panel-heading Create a new Game
                      .panel-body
                          label Game title:
  