--- a/cms/app-client/app/controllers/application.js Mon Jul 04 12:26:19 2016 +0200
+++ b/cms/app-client/app/controllers/application.js Mon Jul 04 12:42:57 2016 +0200
@@ -2,7 +2,7 @@
export default Ember.Controller.extend({
- queryParams: ['location', 'date', 'detail', {
+ queryParams: ['location', 'date', {
language: 'langue',
discourse: 'discours',
theme: 'thematique'
@@ -87,13 +87,6 @@
player: Ember.inject.service(),
- detail: null,
-
-
- modalItem: Ember.computed('detail', function() {
- return this.store.findRecord('document', this.get('detail'));
- }),
-
itemIdObserver: Ember.observer('player.item', function() {
var self = this;
this.store.findRecord('document', this.get('player').get('item'), { reload: true }).then(function(it){
--- a/cms/app-client/app/router.js Mon Jul 04 12:26:19 2016 +0200
+++ b/cms/app-client/app/router.js Mon Jul 04 12:42:57 2016 +0200
@@ -6,7 +6,6 @@
});
Router.map(function() {
- this.route('tabs/detail', { path: '/detail/:document_id' });
this.route('tabs/langues', { path: '/langues' });
this.route('tabs/carto', { path: '/cartographie' });
this.route('tabs/thematiques', { path: '/thematiques' });
--- a/cms/app-client/app/routes/tabs/detail.js Mon Jul 04 12:26:19 2016 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-import Ember from 'ember';
-
-export default Ember.Route.extend({
- model(params) {
- return this.store.findRecord('document', params.document_id);
- }
-});
--- a/cms/app-client/app/styles/app.scss Mon Jul 04 12:26:19 2016 +0200
+++ b/cms/app-client/app/styles/app.scss Mon Jul 04 12:42:57 2016 +0200
@@ -18,7 +18,6 @@
@import 'tabs/chrono';
@import 'tabs/langues';
- @import 'tabs/detail';
@import 'components/sorting-component';
@import 'components/filtering-component';
--- a/cms/app-client/app/styles/tabs/detail.scss Mon Jul 04 12:26:19 2016 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.notice{
- padding: 10px;
-}
-
-.notice-header,
-.notice-body,
-.notice-footer{
- padding: 10px 10px 0;
-}
-
-.notice-header h2{
- margin: 0;
-}
-
-.notice-body b{
- display: inline-block;
- min-width: 140px;
-}