Skip to content

Commit

Permalink
fix(urls) fixed url base paths and added _self for ext links
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed May 30, 2014
1 parent f6ef5d4 commit 612ed5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/app/annotationLibrary/annotationItem.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ <h3 class="panel-title pull-left">Details</h3>
{{annotation.annotationDurationRounded}} seconds duration
</a>
<a data-ng-repeat="project in annotation.projects"
data-ng-href="{{$parent.createProjectUrl(project.id)}}" class="list-group-item" title="Project name.">
data-ng-href="{{$parent.createProjectUrl(project.id)}}" target="_self" class="list-group-item" title="Project name.">
<span class="glyphicon glyphicon-home"></span>&nbsp;
Project: {{project.name}}
</a>
<a data-ng-href="{{annotation.urls.site}}" class="list-group-item" title="Site name.">
<a data-ng-href="{{annotation.urls.site}}" target="_self" class="list-group-item" title="Site name.">
<span class="glyphicon glyphicon-map-marker"></span>&nbsp;
Site: {{annotation.siteName}}
</a>
<a data-ng-href="{{annotation.urls.user}}" class="list-group-item" title="User.">
<a data-ng-href="{{annotation.urls.user}}" target="_self" class="list-group-item" title="User.">
<span class="glyphicon glyphicon-user"></span>&nbsp;
{{annotation.ownerName }}
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/baw.configuration.tpl.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ angular.module('bawApp.configuration', ['url'])
recursivePath(paths.api.routes, paths.api.root);
recursivePath(paths.api.links, paths.api.root);
recursivePath(paths.site.files, paths.site.root);
recursivePath(paths.site.ngRoutes, paths.site.root);
recursivePath(paths.site.ngRoutes, paths.api.root);

paths.joinFragments = joinPathFragments;

Expand Down

0 comments on commit 612ed5b

Please sign in to comment.