change path to assets so it fit with the prod path
authornowmad@nowmads-macbook-pro.local
Fri, 18 Dec 2015 18:09:42 +0100
changeset 78 08765d161e96
parent 77 0889740f79c2
child 79 9224009d41cb
change path to assets so it fit with the prod path
cms/app-client/app/styles/app.scss
cms/app-client/app/styles/results.scss
cms/app-client/app/templates/results.hbs
--- a/cms/app-client/app/styles/app.scss	Fri Dec 18 15:21:52 2015 +0100
+++ b/cms/app-client/app/styles/app.scss	Fri Dec 18 18:09:42 2015 +0100
@@ -1,5 +1,3 @@
-$base-url: "/corpus/";
-
 #corpus-app {
   border: 1px solid;
   width: 1108px;
--- a/cms/app-client/app/styles/results.scss	Fri Dec 18 15:21:52 2015 +0100
+++ b/cms/app-client/app/styles/results.scss	Fri Dec 18 18:09:42 2015 +0100
@@ -40,7 +40,7 @@
 
 .result-item .play-icon {
   float: right;
-  background: url($base_url + 'assets/images/play-button.png') no-repeat;
+  background: url('images/play-button.png') no-repeat;
   background-size: 20px;
   height: 20px;
   width: 20px;
@@ -48,6 +48,6 @@
   margin: 4px 7px 0 0;
 }
 .result-item.playing .play-icon {
-  background: url($base-url + 'assets/images/playing.gif') no-repeat;
+  background: url('images/playing.gif') no-repeat;
   margin: 6px 5px 0 0;
 }
--- a/cms/app-client/app/templates/results.hbs	Fri Dec 18 15:21:52 2015 +0100
+++ b/cms/app-client/app/templates/results.hbs	Fri Dec 18 18:09:42 2015 +0100
@@ -22,7 +22,7 @@
 <div class='result-list'>
   {{#each filteredSounds as |item| }}
     <div id="{{item.id}}" {{action "details" item}} class='result-item'>
-      <span class="play-icon" {{action 'play' item}}>play</span>
+      <span class="play-icon" {{action 'play' item}}></span>
       <strong>{{ item.title }}</strong> - {{item.interviewer}}
       <div class="description">
         {{item.description}}