Skip to content

Commit

Permalink
fix(library): Fixed bad binding and title
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Sep 13, 2016
1 parent cb1b1e4 commit 433f917
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/annotationLibrary/annotationItem.tpl.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div id="content">
<h3>Annotation {{model.audioEventId}}</h3>
<h3>Annotation {{ annotation.id }}</h3>

<div class="row">
<div class="col-md-12">
Expand Down
8 changes: 5 additions & 3 deletions src/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ angular.module("baw",
fullWidth: true
}).

//when('/listen/:recordingId/start=:start/end=:end', {templateUrl: paths.site.files.listen, controller: 'ListenController'}).
//when('/listen/:recordingId/start=:start/end=:end', {templateUrl: paths.site.files.listen, controller:
// 'ListenController'}).

when("/accounts", {templateUrl: "/assets/accounts_sign_in.html", controller: "AccountsCtrl"}).
when("/accounts/:action",
Expand Down Expand Up @@ -210,7 +211,8 @@ angular.module("baw",
return "/library?audioRecordingId=" + routeParams.recordingId;
},
templateUrl: paths.site.files.library.list,
title: ":recordingId", fullWidth: true
title: ":recordingId",
fullWidth: true
}).
when("/library/:recordingId/audio_events", {
redirectTo: function (routeParams, path, search) {
Expand All @@ -221,7 +223,7 @@ angular.module("baw",
when("/library/:recordingId/audio_events/:audioEventId", {
templateUrl: paths.site.files.library.item,
controller: "AnnotationItemCtrl",
title: "Annotation :audioEventId"
title: "Annotations"
}).

when(paths.site.ngRoutes.demo.d3, {
Expand Down

0 comments on commit 433f917

Please sign in to comment.