This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
type: 'doughnut', | |
name: 'Satisfaction', | |
value: 6, | |
max: 10, | |
color: '#e58d51' | |
}, | |
{ | |
type: 'doughnut', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
action_url: "customer360/index.html?q=_uid:17a720741c49433fa8af41fff959b512&_e_view=salesForces", | |
alertsCount: 1, | |
image_src: "./resources/ui/default/images/facet/Customer_ID/w145/Cust24.jpg", | |
name: "Willkie Farr & Gallagher LLP", | |
newsCount: 3, | |
opportunitiesCount: 2, | |
threatsCount: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
action_url: "customer360/index.html?q=_uid:17a720741c49433fa8af41fff959b512&_e_view=salesForces", | |
image_src: "./resources/ui/default/images/facet/Customer_ID/w145/Cust24.jpg", | |
name: "Willkie Farr & Gallagher LLP", | |
values: [ | |
{'count': 9, label: "Alerts", shortLabel: "Alerts"}, | |
{'count': 9, label: "News", shortLabel: "News"}, | |
{'count': 9, label: "Threats", shortLabel: "Threats"}, | |
{'count': 9, label: "Opportunities", shortLabel: "Opp."} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"user_profile": { | |
"values": [ | |
{ | |
"title":"User profile", | |
"image_src":"/c360/customer360/images/employees_pictures/C360Emp71.jpg" | |
} | |
] | |
}, | |
"performances": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ApplicationController < ActionController::Base | |
protect_from_forgery | |
before_filter :define_rss_feed | |
def define_rss_feed | |
@blogposts = RSS::Parser.parse(open('http://www.jerevedunemaison.com/feed').read, false).items[0,1,2] | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
platformApp.factory('DataService', | |
['$rootScope', 'Project', '$q', '$filter', 'Environment', 'storage', 'Stream', 'Activity', 'ActivityCollection', 'EnvironmentCollection', 'ProjectCollection', | |
function ($rootScope, Project, $q, $filter, Environment, storage, Stream, Activity, ActivityCollection, EnvironmentCollection, ProjectCollection){ | |
}] | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$scope.kpis = {}; $scope.mainContacts = {}; | |
$scope.revenueBreakdown = {}; $scope.upcomingActivities = {}; | |
$scope.user = {}; | |
// Gives | |
$scope.kpis = {}; $scope.mainContacts = {}; | |
$scope.revenueBreakdown = {}; $scope.upcomingActivities = {}; | |
$scope.user = {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
angular.module('customer360App').factory('Settings', function() { | |
return { | |
appName: function() { | |
return '/customer-matrix/'; | |
}, | |
proxyUrl: function() { | |
return this.appName + 'proxy'; | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+++ /scripts/initialize : 15 > PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > ' | |
+++ /scripts/initialize : 21 > [[ -n 3.2.48(1)-release ]] | |
+++ /scripts/initialize : 23 > shopt -s extglob | |
+++ /scripts/initialize : 33 > export __rvm_env_loaded | |
+++ /scripts/initialize : 35 > : __rvm_env_loaded:2: | |
+++ /scripts/initialize : 37 > : __rvm_env_loaded:3: | |
+++ /scripts/initialize : 40 > [[ -z /Users/adrien/.rvm/tmp ]] | |
+++ /scripts/initialize : 40 > (( __rvm_env_loaded == 1 )) | |
++ /scripts/base : 81 > case " ${rvm_base_except:-} " in | |
++ /scripts/base : 83 > true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exiting | |
/Users/adrien/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/dynamic_matchers.rb:50:in `method_missing': undefined local variable or method `acts_as_sane_tree' for #<Class:0x007fd3363593f8> (NameError) | |
from /Users/adrien/code/adserver/backoffice/app/models/campaign_config.rb:3:in `<class:CampaignConfig>' | |
from /Users/adrien/code/adserver/backoffice/app/models/campaign_config.rb:2:in `<top (required)>' | |
from /Users/adrien/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:469:in `load' | |
from /Users/adrien/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:469:in `block in load_file' | |
from /Users/adrien/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:639:in `new_constants_in' | |
from /Users/adrien/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:468:in `load_file' | |
from /Users/adrien/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/act |