Skip to content

Commit

Permalink
#1 - better naming
Browse files Browse the repository at this point in the history
  • Loading branch information
cbellone committed Oct 18, 2014
1 parent 052d725 commit d717a0c
Show file tree
Hide file tree
Showing 13 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/main/webapp/resources/js/admin/directive/admin-directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
directives.directive("organizationsList", function() {
return {
scope: true,
templateUrl: '/resources/angularTemplates/admin/partials/main/organizations.html',
templateUrl: '/resources/angular-templates/admin/partials/main/organizations.html',
controller: function($scope, $rootScope, OrganizationService) {
var loadOrganizations = function() {
OrganizationService.getAllOrganizations().success(function(result) {
Expand All @@ -55,7 +55,7 @@
directives.directive("usersList", function() {
return {
scope: true,
templateUrl: '/resources/angularTemplates/admin/partials/main/users.html',
templateUrl: '/resources/angular-templates/admin/partials/main/users.html',
controller: function($scope, $rootScope, UserService) {
$scope.users = [];
var loadUsers = function() {
Expand All @@ -75,7 +75,7 @@
directives.directive('eventsList', function() {
return {
scope: true,
templateUrl: '/resources/angularTemplates/admin/partials/main/events.html',
templateUrl: '/resources/angular-templates/admin/partials/main/events.html',
controller: function($scope, EventService) {
EventService.getAllEvents().success(function(data) {
$scope.events = data;
Expand Down Expand Up @@ -143,7 +143,7 @@
directives.directive('controlButtons', function() {
return {
restrict: 'E',
templateUrl: '/resources/angularTemplates/admin/partials/form/controlButtons.html',
templateUrl: '/resources/angular-templates/admin/partials/form/controlButtons.html',
scope: {
formObj: '=',
cancelHandler: '='
Expand All @@ -163,7 +163,7 @@
directives.directive('fieldError', function() {
return {
restrict: 'E',
templateUrl: '/resources/angularTemplates/admin/partials/form/fieldError.html',
templateUrl: '/resources/angular-templates/admin/partials/form/fieldError.html',
scope: {
formObj: '=',
fieldObj: '=',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"use strict";

var BASE_TEMPLATE_URL = "/admin/partials";
var BASE_STATIC_URL = "/resources/angularTemplates/admin/partials";
var BASE_STATIC_URL = "/resources/angular-templates/admin/partials";
var PAYMENT_PROXY_DESCRIPTIONS = {
"STRIPE": "Credit card payments",
"PAYPAL": "PayPal account",
Expand Down

0 comments on commit d717a0c

Please sign in to comment.