Sha256: 00eccb86426aefbbcd5aa37e04da028330597756bfe507c3bf139d2500da66ef

Contents?: true

Size: 899 Bytes

Versions: 22

Compression:

Stored size: 899 Bytes

Contents

!(angular => {
  'use strict';

  class SingleResultShowController {
    constructor($routeParams, Query, Result, PageTitleManager) {
      this.resultId = $routeParams.resultId;
      this.queryId = $routeParams.queryId;
      this.queryVersionId = $routeParams.queryVersionId;

      this.query = new Query();
      this.query.initItem(this.queryId, this.queryVersionId).then(query => {
        this.panelTitle = 'Result id=' + this.resultId + ' for "' + query.title + '"';
        PageTitleManager.title = this.panelTitle ;
      });

      this.result = new Result();
      this.result.initItem(this.resultId);
    }
  }

  SingleResultShowController.$inject = ['$routeParams', 'Query', 'Result', 'PageTitleManager'];

  angular
    .module('alephControllers.singleResultShowController', ['alephServices'])
    .controller('SingleResultShowController', SingleResultShowController);
}(angular));

Version data entries

22 entries across 11 versions & 1 rubygems

Version Path
aleph_analytics-0.4.9.pre.dev public/assets/angular/controllers/result/single_result_show_controller.js-e18738b84c1ebe7c12707706cb876188.es6
aleph_analytics-0.4.9.pre.dev app/assets/javascripts/angular/controllers/result/single_result_show_controller.js.es6
aleph_analytics-0.4.8 app/assets/javascripts/angular/controllers/result/single_result_show_controller.js.es6
aleph_analytics-0.4.8 public/assets/angular/controllers/result/single_result_show_controller.js-e18738b84c1ebe7c12707706cb876188.es6
aleph_analytics-0.4.7 public/assets/angular/controllers/result/single_result_show_controller.js-e18738b84c1ebe7c12707706cb876188.es6
aleph_analytics-0.4.7 app/assets/javascripts/angular/controllers/result/single_result_show_controller.js.es6
aleph_analytics-0.4.4 public/assets/angular/controllers/result/single_result_show_controller.js-e18738b84c1ebe7c12707706cb876188.es6
aleph_analytics-0.4.4 app/assets/javascripts/angular/controllers/result/single_result_show_controller.js.es6
aleph_analytics-0.4.2 public/assets/angular/controllers/result/single_result_show_controller.js-e18738b84c1ebe7c12707706cb876188.es6
aleph_analytics-0.4.2 app/assets/javascripts/angular/controllers/result/single_result_show_controller.js.es6
aleph_analytics-0.4.1 public/assets/angular/controllers/result/single_result_show_controller.js-e18738b84c1ebe7c12707706cb876188.es6
aleph_analytics-0.4.1 app/assets/javascripts/angular/controllers/result/single_result_show_controller.js.es6
aleph_analytics-0.3.0 public/assets/angular/controllers/result/single_result_show_controller.js-e18738b84c1ebe7c12707706cb876188.es6
aleph_analytics-0.3.0 app/assets/javascripts/angular/controllers/result/single_result_show_controller.js.es6
aleph_analytics-0.2.0 public/assets/angular/controllers/result/single_result_show_controller.js-e18738b84c1ebe7c12707706cb876188.es6
aleph_analytics-0.2.0 app/assets/javascripts/angular/controllers/result/single_result_show_controller.js.es6
aleph_analytics-0.1.0 app/assets/javascripts/angular/controllers/result/single_result_show_controller.js.es6
aleph_analytics-0.1.0 public/assets/angular/controllers/result/single_result_show_controller.js-e18738b84c1ebe7c12707706cb876188.es6
aleph_analytics-0.0.6 public/assets/angular/controllers/result/single_result_show_controller.js-e18738b84c1ebe7c12707706cb876188.es6
aleph_analytics-0.0.6 app/assets/javascripts/angular/controllers/result/single_result_show_controller.js.es6