mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-21 15:54:22 +01:00
remove useless references to asset_pack_path or equivalents
This commit is contained in:
parent
44ca50b4e1
commit
6e5713438f
@ -87,7 +87,7 @@ class AuthenticationController {
|
|||||||
*/
|
*/
|
||||||
$scope.defineDataMapping = function (mapping) {
|
$scope.defineDataMapping = function (mapping) {
|
||||||
$uibModal.open({
|
$uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "admin/authentications/_data_mapping.html" %>',
|
templateUrl: 'admin/authentications/_data_mapping.html',
|
||||||
size: 'md',
|
size: 'md',
|
||||||
resolve: {
|
resolve: {
|
||||||
field () { return mapping; },
|
field () { return mapping; },
|
||||||
|
@ -273,7 +273,7 @@ Application.Controllers.controller('AdminCalendarController', ['$scope', '$state
|
|||||||
// open a confirmation dialog
|
// open a confirmation dialog
|
||||||
const modalInstance = $uibModal.open({
|
const modalInstance = $uibModal.open({
|
||||||
animation: true,
|
animation: true,
|
||||||
templateUrl: '<%= asset_pack_path "admin/calendar/deleteRecurrent.html" %>',
|
templateUrl: 'admin/calendar/deleteRecurrent.html',
|
||||||
size: 'md',
|
size: 'md',
|
||||||
controller: 'DeleteRecurrentAvailabilityController',
|
controller: 'DeleteRecurrentAvailabilityController',
|
||||||
resolve: {
|
resolve: {
|
||||||
@ -419,7 +419,7 @@ Application.Controllers.controller('AdminCalendarController', ['$scope', '$state
|
|||||||
|
|
||||||
// then we open a modal window to let the admin specify the slot type
|
// then we open a modal window to let the admin specify the slot type
|
||||||
const modalInstance = $uibModal.open({
|
const modalInstance = $uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "admin/calendar/eventModal.html" %>',
|
templateUrl: 'admin/calendar/eventModal.html',
|
||||||
controller: 'CreateEventModalController',
|
controller: 'CreateEventModalController',
|
||||||
backdrop: 'static',
|
backdrop: 'static',
|
||||||
keyboard: false,
|
keyboard: false,
|
||||||
|
@ -279,7 +279,7 @@ Application.Controllers.controller('AdminEventsController', ['$scope', '$state',
|
|||||||
*/
|
*/
|
||||||
$scope.newPriceCategory = function () {
|
$scope.newPriceCategory = function () {
|
||||||
$uibModal.open({
|
$uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "admin/events/price_form.html" %>',
|
templateUrl: 'admin/events/price_form.html',
|
||||||
size: 'md',
|
size: 'md',
|
||||||
resolve: {
|
resolve: {
|
||||||
category () { return {}; }
|
category () { return {}; }
|
||||||
@ -307,7 +307,7 @@ Application.Controllers.controller('AdminEventsController', ['$scope', '$state',
|
|||||||
return growl.error(_t('app.admin.events.unexpected_error_occurred_please_refresh'));
|
return growl.error(_t('app.admin.events.unexpected_error_occurred_please_refresh'));
|
||||||
} else {
|
} else {
|
||||||
return $uibModal.open({
|
return $uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "admin/events/price_form.html" %>',
|
templateUrl: 'admin/events/price_form.html',
|
||||||
size: 'md',
|
size: 'md',
|
||||||
resolve: {
|
resolve: {
|
||||||
category () { return $scope.priceCategories[index]; }
|
category () { return $scope.priceCategories[index]; }
|
||||||
@ -645,7 +645,7 @@ Application.Controllers.controller('EditEventController', ['$scope', '$state', '
|
|||||||
// open a choice edit-mode dialog
|
// open a choice edit-mode dialog
|
||||||
const modalInstance = $uibModal.open({
|
const modalInstance = $uibModal.open({
|
||||||
animation: true,
|
animation: true,
|
||||||
templateUrl: '<%= asset_pack_path "events/editRecurrent.html" %>',
|
templateUrl: 'events/editRecurrent.html',
|
||||||
size: 'md',
|
size: 'md',
|
||||||
controller: 'EditRecurrentEventController',
|
controller: 'EditRecurrentEventController',
|
||||||
resolve: {
|
resolve: {
|
||||||
|
@ -220,7 +220,7 @@ Application.Controllers.controller('InvoicesController', ['$scope', '$state', 'I
|
|||||||
$scope.generateAvoirForInvoice = function (invoice) {
|
$scope.generateAvoirForInvoice = function (invoice) {
|
||||||
// open modal
|
// open modal
|
||||||
const modalInstance = $uibModal.open({
|
const modalInstance = $uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "admin/invoices/avoirModal.html" %>',
|
templateUrl: 'admin/invoices/avoirModal.html',
|
||||||
controller: 'AvoirModalController',
|
controller: 'AvoirModalController',
|
||||||
resolve: {
|
resolve: {
|
||||||
invoice () { return invoice; },
|
invoice () { return invoice; },
|
||||||
@ -579,7 +579,7 @@ Application.Controllers.controller('InvoicesController', ['$scope', '$state', 'I
|
|||||||
$scope.closeAnAccountingPeriod = function() {
|
$scope.closeAnAccountingPeriod = function() {
|
||||||
// open modal
|
// open modal
|
||||||
$uibModal.open({
|
$uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "admin/invoices/closePeriodModal.html" %>',
|
templateUrl: 'admin/invoices/closePeriodModal.html',
|
||||||
controller: 'ClosePeriodModalController',
|
controller: 'ClosePeriodModalController',
|
||||||
backdrop: 'static',
|
backdrop: 'static',
|
||||||
keyboard: false,
|
keyboard: false,
|
||||||
@ -593,7 +593,7 @@ Application.Controllers.controller('InvoicesController', ['$scope', '$state', 'I
|
|||||||
|
|
||||||
$scope.toggleExportModal = function() {
|
$scope.toggleExportModal = function() {
|
||||||
$uibModal.open({
|
$uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "admin/invoices/accountingExportModal.html" %>',
|
templateUrl: 'admin/invoices/accountingExportModal.html',
|
||||||
controller: 'AccountingExportModalController',
|
controller: 'AccountingExportModalController',
|
||||||
size: 'xl'
|
size: 'xl'
|
||||||
});
|
});
|
||||||
|
@ -236,7 +236,7 @@ Application.Controllers.controller('AdminMembersController', ['$scope', '$sce',
|
|||||||
$scope.openPartnerNewModal = function () {
|
$scope.openPartnerNewModal = function () {
|
||||||
const modalInstance = $uibModal.open({
|
const modalInstance = $uibModal.open({
|
||||||
animation: true,
|
animation: true,
|
||||||
templateUrl: '<%= asset_pack_path "shared/_partner_new_modal.html" %>',
|
templateUrl: 'shared/_partner_new_modal.html',
|
||||||
size: 'lg',
|
size: 'lg',
|
||||||
controller: ['$scope', '$uibModalInstance', 'User', function ($scope, $uibModalInstance, User) {
|
controller: ['$scope', '$uibModalInstance', 'User', function ($scope, $uibModalInstance, User) {
|
||||||
$scope.partner = {};
|
$scope.partner = {};
|
||||||
@ -702,7 +702,7 @@ Application.Controllers.controller('EditMemberController', ['$scope', '$state',
|
|||||||
$scope.changeUserRole = function() {
|
$scope.changeUserRole = function() {
|
||||||
const modalInstance = $uibModal.open({
|
const modalInstance = $uibModal.open({
|
||||||
animation: true,
|
animation: true,
|
||||||
templateUrl: '<%= asset_pack_path "admin/members/change_role_modal.html" %>',
|
templateUrl: 'admin/members/change_role_modal.html',
|
||||||
size: 'lg',
|
size: 'lg',
|
||||||
resolve: {
|
resolve: {
|
||||||
user() { return $scope.user; }
|
user() { return $scope.user; }
|
||||||
@ -750,7 +750,7 @@ Application.Controllers.controller('EditMemberController', ['$scope', '$state',
|
|||||||
$scope.updateSubscriptionModal = function (subscription, free) {
|
$scope.updateSubscriptionModal = function (subscription, free) {
|
||||||
const modalInstance = $uibModal.open({
|
const modalInstance = $uibModal.open({
|
||||||
animation: true,
|
animation: true,
|
||||||
templateUrl: '<%= asset_pack_path "admin/subscriptions/expired_at_modal.html" %>',
|
templateUrl: 'admin/subscriptions/expired_at_modal.html',
|
||||||
size: 'lg',
|
size: 'lg',
|
||||||
controller: ['$scope', '$uibModalInstance', 'Subscription', function ($scope, $uibModalInstance, Subscription) {
|
controller: ['$scope', '$uibModalInstance', 'Subscription', function ($scope, $uibModalInstance, Subscription) {
|
||||||
$scope.new_expired_at = angular.copy(subscription.expired_at);
|
$scope.new_expired_at = angular.copy(subscription.expired_at);
|
||||||
@ -797,7 +797,7 @@ Application.Controllers.controller('EditMemberController', ['$scope', '$state',
|
|||||||
$scope.createSubscriptionModal = function (user, plans) {
|
$scope.createSubscriptionModal = function (user, plans) {
|
||||||
const modalInstance = $uibModal.open({
|
const modalInstance = $uibModal.open({
|
||||||
animation: true,
|
animation: true,
|
||||||
templateUrl: '<%= asset_pack_path "admin/subscriptions/create_modal.html" %>',
|
templateUrl: 'admin/subscriptions/create_modal.html',
|
||||||
size: 'lg',
|
size: 'lg',
|
||||||
controller: ['$scope', '$uibModalInstance', 'Subscription', 'Group', function ($scope, $uibModalInstance, Subscription, Group) {
|
controller: ['$scope', '$uibModalInstance', 'Subscription', 'Group', function ($scope, $uibModalInstance, Subscription, Group) {
|
||||||
// selected user
|
// selected user
|
||||||
@ -845,7 +845,7 @@ Application.Controllers.controller('EditMemberController', ['$scope', '$state',
|
|||||||
$scope.createWalletCreditModal = function (user, wallet) {
|
$scope.createWalletCreditModal = function (user, wallet) {
|
||||||
const modalInstance = $uibModal.open({
|
const modalInstance = $uibModal.open({
|
||||||
animation: true,
|
animation: true,
|
||||||
templateUrl: '<%= asset_pack_path "wallet/credit_modal.html" %>',
|
templateUrl: 'wallet/credit_modal.html',
|
||||||
controller: ['$scope', '$uibModalInstance', 'Wallet', function ($scope, $uibModalInstance, Wallet) {
|
controller: ['$scope', '$uibModalInstance', 'Wallet', function ($scope, $uibModalInstance, Wallet) {
|
||||||
// default: do not generate a refund invoice
|
// default: do not generate a refund invoice
|
||||||
$scope.generate_avoir = false;
|
$scope.generate_avoir = false;
|
||||||
|
@ -106,7 +106,7 @@ Application.Controllers.controller('NewPlanController', ['$scope', '$uibModal',
|
|||||||
$scope.openPartnerNewModal = function (subscription) {
|
$scope.openPartnerNewModal = function (subscription) {
|
||||||
const modalInstance = $uibModal.open({
|
const modalInstance = $uibModal.open({
|
||||||
animation: true,
|
animation: true,
|
||||||
templateUrl: '<%= asset_pack_path "shared/_partner_new_modal.html" %>',
|
templateUrl: 'shared/_partner_new_modal.html',
|
||||||
size: 'lg',
|
size: 'lg',
|
||||||
controller: ['$scope', '$uibModalInstance', 'User', function ($scope, $uibModalInstance, User) {
|
controller: ['$scope', '$uibModalInstance', 'User', function ($scope, $uibModalInstance, User) {
|
||||||
$scope.partner = {};
|
$scope.partner = {};
|
||||||
|
@ -570,7 +570,7 @@ Application.Controllers.controller('EditPricingController', ['$scope', '$state',
|
|||||||
*/
|
*/
|
||||||
$scope.sendCouponToUser = function (coupon) {
|
$scope.sendCouponToUser = function (coupon) {
|
||||||
$uibModal.open({
|
$uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "admin/pricing/sendCoupon.html" %>',
|
templateUrl: 'admin/pricing/sendCoupon.html',
|
||||||
resolve: {
|
resolve: {
|
||||||
coupon () { return coupon; }
|
coupon () { return coupon; }
|
||||||
},
|
},
|
||||||
|
@ -173,7 +173,7 @@ Application.Controllers.controller('SettingsController', ['$scope', '$rootScope'
|
|||||||
$scope.savePrivacyPolicy = function () {
|
$scope.savePrivacyPolicy = function () {
|
||||||
// open modal
|
// open modal
|
||||||
const modalInstance = $uibModal.open({
|
const modalInstance = $uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "admin/settings/save_policy.html" %>',
|
templateUrl: 'admin/settings/save_policy.html',
|
||||||
controller: 'SavePolicyController',
|
controller: 'SavePolicyController',
|
||||||
resolve: {
|
resolve: {
|
||||||
saveCb () { return $scope.save; },
|
saveCb () { return $scope.save; },
|
||||||
@ -274,7 +274,7 @@ Application.Controllers.controller('SettingsController', ['$scope', '$rootScope'
|
|||||||
*/
|
*/
|
||||||
$scope.analyticsModal = function() {
|
$scope.analyticsModal = function() {
|
||||||
$uibModal.open({
|
$uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "admin/settings/analyticsModal.html" %>',
|
templateUrl: 'admin/settings/analyticsModal.html',
|
||||||
controller: 'AnalyticsModalController',
|
controller: 'AnalyticsModalController',
|
||||||
size: 'lg',
|
size: 'lg',
|
||||||
resolve: {
|
resolve: {
|
||||||
|
@ -311,7 +311,7 @@ Application.Controllers.controller('StatisticsController', ['$scope', '$state',
|
|||||||
*/
|
*/
|
||||||
$scope.exportToExcel = function () {
|
$scope.exportToExcel = function () {
|
||||||
const options = {
|
const options = {
|
||||||
templateUrl: '<%= asset_pack_path "admin/statistics/export.html" %>',
|
templateUrl: 'admin/statistics/export.html',
|
||||||
size: 'sm',
|
size: 'sm',
|
||||||
controller: 'ExportStatisticsController',
|
controller: 'ExportStatisticsController',
|
||||||
resolve: {
|
resolve: {
|
||||||
|
@ -221,7 +221,7 @@ Application.Controllers.controller('TrainingsAdminController', ['$scope', '$stat
|
|||||||
*/
|
*/
|
||||||
$scope.showReservations = function (training, availability) {
|
$scope.showReservations = function (training, availability) {
|
||||||
$uibModal.open({
|
$uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "admin/trainings/validTrainingModal.html" %>',
|
templateUrl: 'admin/trainings/validTrainingModal.html',
|
||||||
controller: ['$scope', '$uibModalInstance', function ($scope, $uibModalInstance) {
|
controller: ['$scope', '$uibModalInstance', function ($scope, $uibModalInstance) {
|
||||||
$scope.availability = availability;
|
$scope.availability = availability;
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ Application.Controllers.controller('ApplicationController', ['$rootScope', '$sco
|
|||||||
<% else %>
|
<% else %>
|
||||||
|
|
||||||
return $uibModal.open({
|
return $uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "shared/signupModal.html" %>',
|
templateUrl: 'shared/signupModal.html',
|
||||||
size: 'md',
|
size: 'md',
|
||||||
resolve: {
|
resolve: {
|
||||||
settingsPromise: ['Setting', function (Setting) { return Setting.query({ names: "['phone_required', 'recaptcha_site_key', 'confirmation_required']" }).$promise; }]
|
settingsPromise: ['Setting', function (Setting) { return Setting.query({ names: "['phone_required', 'recaptcha_site_key', 'confirmation_required']" }).$promise; }]
|
||||||
@ -192,7 +192,7 @@ Application.Controllers.controller('ApplicationController', ['$rootScope', '$sco
|
|||||||
*/
|
*/
|
||||||
$scope.editPassword = function (token) {
|
$scope.editPassword = function (token) {
|
||||||
$uibModal.open({
|
$uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "shared/passwordEditModal.html" %>',
|
templateUrl: 'shared/passwordEditModal.html',
|
||||||
size: 'md',
|
size: 'md',
|
||||||
controller: ['$scope', '$uibModalInstance', '$http', function ($scope, $uibModalInstance, $http) {
|
controller: ['$scope', '$uibModalInstance', '$http', function ($scope, $uibModalInstance, $http) {
|
||||||
$scope.user = { reset_password_token: token };
|
$scope.user = { reset_password_token: token };
|
||||||
@ -282,7 +282,7 @@ Application.Controllers.controller('ApplicationController', ['$rootScope', '$sco
|
|||||||
if ($rootScope.currentUser.role !== 'admin') return;
|
if ($rootScope.currentUser.role !== 'admin') return;
|
||||||
|
|
||||||
$uibModal.open({
|
$uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "admin/versions/upgradeModal.html" %>',
|
templateUrl: 'admin/versions/upgradeModal.html',
|
||||||
controller: 'VersionModalController',
|
controller: 'VersionModalController',
|
||||||
resolve: {
|
resolve: {
|
||||||
version() { return $scope.version; }
|
version() { return $scope.version; }
|
||||||
@ -407,7 +407,7 @@ Application.Controllers.controller('ApplicationController', ['$rootScope', '$sco
|
|||||||
$window.location.href = '/sso-redirect';
|
$window.location.href = '/sso-redirect';
|
||||||
<% else %>
|
<% else %>
|
||||||
return $uibModal.open({
|
return $uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "shared/deviseModal.html" %>',
|
templateUrl: 'shared/deviseModal.html',
|
||||||
size: 'sm',
|
size: 'sm',
|
||||||
resolve: {
|
resolve: {
|
||||||
settingsPromise: ['Setting', function (Setting) { return Setting.query({ names: "['confirmation_required']" }).$promise; }]
|
settingsPromise: ['Setting', function (Setting) { return Setting.query({ names: "['confirmation_required']" }).$promise; }]
|
||||||
@ -470,7 +470,7 @@ Application.Controllers.controller('ApplicationController', ['$rootScope', '$sco
|
|||||||
} else if (reason === 'resetPassword') {
|
} else if (reason === 'resetPassword') {
|
||||||
// open the 'reset password' modal
|
// open the 'reset password' modal
|
||||||
return $uibModal.open({
|
return $uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "shared/passwordNewModal.html" %>',
|
templateUrl: 'shared/passwordNewModal.html',
|
||||||
size: 'sm',
|
size: 'sm',
|
||||||
controller: ['$scope', '$uibModalInstance', '$http', function ($scope, $uibModalInstance, $http) {
|
controller: ['$scope', '$uibModalInstance', '$http', function ($scope, $uibModalInstance, $http) {
|
||||||
$scope.user = { email: '' };
|
$scope.user = { email: '' };
|
||||||
@ -488,7 +488,7 @@ Application.Controllers.controller('ApplicationController', ['$rootScope', '$sco
|
|||||||
} else if (reason === 'confirmationNew') {
|
} else if (reason === 'confirmationNew') {
|
||||||
// open the 'reset password' modal
|
// open the 'reset password' modal
|
||||||
return $uibModal.open({
|
return $uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "shared/ConfirmationNewModal.html" %>',
|
templateUrl: 'shared/ConfirmationNewModal.html',
|
||||||
size: 'sm',
|
size: 'sm',
|
||||||
controller: ['$scope', '$uibModalInstance', '$http', function ($scope, $uibModalInstance, $http) {
|
controller: ['$scope', '$uibModalInstance', '$http', function ($scope, $uibModalInstance, $http) {
|
||||||
$scope.user = { email: '' };
|
$scope.user = { email: '' };
|
||||||
|
@ -186,7 +186,7 @@ Application.Controllers.controller('ShowEventController', ['$scope', '$state', '
|
|||||||
// open a confirmation dialog
|
// open a confirmation dialog
|
||||||
const modalInstance = $uibModal.open({
|
const modalInstance = $uibModal.open({
|
||||||
animation: true,
|
animation: true,
|
||||||
templateUrl: '<%= asset_pack_path "events/deleteRecurrent.html" %>',
|
templateUrl: 'events/deleteRecurrent.html',
|
||||||
size: 'md',
|
size: 'md',
|
||||||
controller: 'DeleteRecurrentEventController',
|
controller: 'DeleteRecurrentEventController',
|
||||||
resolve: {
|
resolve: {
|
||||||
@ -416,7 +416,7 @@ Application.Controllers.controller('ShowEventController', ['$scope', '$state', '
|
|||||||
$scope.modifyReservation = function (reservation) {
|
$scope.modifyReservation = function (reservation) {
|
||||||
const index = $scope.reservations.indexOf(reservation);
|
const index = $scope.reservations.indexOf(reservation);
|
||||||
return $uibModal.open({
|
return $uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "events/modify_event_reservation_modal.html" %>',
|
templateUrl: 'events/modify_event_reservation_modal.html',
|
||||||
resolve: {
|
resolve: {
|
||||||
event () { return $scope.event; },
|
event () { return $scope.event; },
|
||||||
reservation () { return reservation; }
|
reservation () { return reservation; }
|
||||||
@ -671,7 +671,7 @@ Application.Controllers.controller('ShowEventController', ['$scope', '$state', '
|
|||||||
*/
|
*/
|
||||||
const payByStripe = function (reservation) {
|
const payByStripe = function (reservation) {
|
||||||
$uibModal.open({
|
$uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "stripe/payment_modal.html" %>',
|
templateUrl: 'stripe/payment_modal.html',
|
||||||
size: 'md',
|
size: 'md',
|
||||||
resolve: {
|
resolve: {
|
||||||
reservation () {
|
reservation () {
|
||||||
@ -739,7 +739,7 @@ Application.Controllers.controller('ShowEventController', ['$scope', '$state', '
|
|||||||
*/
|
*/
|
||||||
const payOnSite = function (reservation) {
|
const payOnSite = function (reservation) {
|
||||||
$uibModal.open({
|
$uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "shared/valid_reservation_modal.html" %>',
|
templateUrl: 'shared/valid_reservation_modal.html',
|
||||||
size: 'sm',
|
size: 'sm',
|
||||||
resolve: {
|
resolve: {
|
||||||
reservation () {
|
reservation () {
|
||||||
@ -858,7 +858,7 @@ Application.Controllers.controller('ShowEventController', ['$scope', '$state', '
|
|||||||
const showReserveSlotSameTimeModal = function(sameTimeReservations, callback) {
|
const showReserveSlotSameTimeModal = function(sameTimeReservations, callback) {
|
||||||
const modalInstance = $uibModal.open({
|
const modalInstance = $uibModal.open({
|
||||||
animation: true,
|
animation: true,
|
||||||
templateUrl: '<%= asset_pack_path "shared/_reserve_slot_same_time.html" %>',
|
templateUrl: 'shared/_reserve_slot_same_time.html',
|
||||||
size: 'md',
|
size: 'md',
|
||||||
controller: 'ReserveSlotSameTimeController',
|
controller: 'ReserveSlotSameTimeController',
|
||||||
resolve: {
|
resolve: {
|
||||||
|
@ -121,7 +121,7 @@ const _reserveMachine = function (machine, e) {
|
|||||||
// the training before he can book the reservation
|
// the training before he can book the reservation
|
||||||
if (machine.current_user_training_reservation) {
|
if (machine.current_user_training_reservation) {
|
||||||
return _this.$uibModal.open({
|
return _this.$uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "machines/training_reservation_modal.html" %>',
|
templateUrl: 'machines/training_reservation_modal.html',
|
||||||
controller: ['$scope', '$uibModalInstance', function ($scope, $uibModalInstance) {
|
controller: ['$scope', '$uibModalInstance', function ($scope, $uibModalInstance) {
|
||||||
$scope.machine = machine;
|
$scope.machine = machine;
|
||||||
return $scope.cancel = function () { $uibModalInstance.dismiss('cancel'); };
|
return $scope.cancel = function () { $uibModalInstance.dismiss('cancel'); };
|
||||||
@ -136,7 +136,7 @@ const _reserveMachine = function (machine, e) {
|
|||||||
// otherwise open the information modal
|
// otherwise open the information modal
|
||||||
} else {
|
} else {
|
||||||
return _this.$uibModal.open({
|
return _this.$uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "machines/request_training_modal.html" %>',
|
templateUrl: 'machines/request_training_modal.html',
|
||||||
controller: ['$scope', '$uibModalInstance', '$state', function ($scope, $uibModalInstance, $state) {
|
controller: ['$scope', '$uibModalInstance', '$state', function ($scope, $uibModalInstance, $state) {
|
||||||
$scope.machine = machine;
|
$scope.machine = machine;
|
||||||
$scope.member = _this.$scope.currentUser;
|
$scope.member = _this.$scope.currentUser;
|
||||||
|
@ -235,7 +235,7 @@ Application.Controllers.controller('PlansIndexController', ['$scope', '$rootScop
|
|||||||
*/
|
*/
|
||||||
const payByStripe = function () {
|
const payByStripe = function () {
|
||||||
$uibModal.open({
|
$uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "stripe/payment_modal.html" %>',
|
templateUrl: 'stripe/payment_modal.html',
|
||||||
size: 'md',
|
size: 'md',
|
||||||
resolve: {
|
resolve: {
|
||||||
selectedPlan () { return $scope.selectedPlan; },
|
selectedPlan () { return $scope.selectedPlan; },
|
||||||
@ -299,7 +299,7 @@ Application.Controllers.controller('PlansIndexController', ['$scope', '$rootScop
|
|||||||
*/
|
*/
|
||||||
const payOnSite = function () {
|
const payOnSite = function () {
|
||||||
$uibModal.open({
|
$uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "plans/payment_modal.html" %>',
|
templateUrl: 'plans/payment_modal.html',
|
||||||
size: 'sm',
|
size: 'sm',
|
||||||
resolve: {
|
resolve: {
|
||||||
selectedPlan () { return $scope.selectedPlan; },
|
selectedPlan () { return $scope.selectedPlan; },
|
||||||
|
@ -167,7 +167,7 @@ Application.Controllers.controller('CompleteProfileController', ['$scope', '$roo
|
|||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
dialogs.confirm(
|
dialogs.confirm(
|
||||||
{
|
{
|
||||||
templateUrl: '<%= asset_pack_path "profile/resend_code_modal.html" %>',
|
templateUrl: 'profile/resend_code_modal.html',
|
||||||
resolve: {
|
resolve: {
|
||||||
object () {
|
object () {
|
||||||
return { email: memberPromise.email };
|
return { email: memberPromise.email };
|
||||||
|
@ -587,7 +587,7 @@ Application.Controllers.controller('ShowProjectController', ['$scope', '$state',
|
|||||||
if (e) { e.preventDefault(); }
|
if (e) { e.preventDefault(); }
|
||||||
|
|
||||||
$uibModal.open({
|
$uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "shared/signalAbuseModal.html" %>',
|
templateUrl: 'shared/signalAbuseModal.html',
|
||||||
size: 'md',
|
size: 'md',
|
||||||
resolve: {
|
resolve: {
|
||||||
project () { return $scope.project; }
|
project () { return $scope.project; }
|
||||||
|
@ -39,7 +39,7 @@ Application.Directives.directive('cart', [ '$rootScope', '$uibModal', 'dialogs',
|
|||||||
reservableName: '@',
|
reservableName: '@',
|
||||||
limitToOneSlot: '@'
|
limitToOneSlot: '@'
|
||||||
},
|
},
|
||||||
templateUrl: '<%= asset_pack_path "shared/_cart.html" %>',
|
templateUrl: 'shared/_cart.html',
|
||||||
link ($scope, element, attributes) {
|
link ($scope, element, attributes) {
|
||||||
// will store the user's plan if he choosed to buy one
|
// will store the user's plan if he choosed to buy one
|
||||||
$scope.selectedPlan = null;
|
$scope.selectedPlan = null;
|
||||||
@ -174,7 +174,7 @@ Application.Directives.directive('cart', [ '$rootScope', '$uibModal', 'dialogs',
|
|||||||
} else {
|
} else {
|
||||||
const modalInstance = $uibModal.open({
|
const modalInstance = $uibModal.open({
|
||||||
animation: true,
|
animation: true,
|
||||||
templateUrl: '<%= asset_pack_path "shared/_reserve_slot_without_plan.html" %>',
|
templateUrl: 'shared/_reserve_slot_without_plan.html',
|
||||||
size: 'md',
|
size: 'md',
|
||||||
controller: 'ReserveSlotWithoutPlanController',
|
controller: 'ReserveSlotWithoutPlanController',
|
||||||
resolve: {
|
resolve: {
|
||||||
@ -318,7 +318,7 @@ Application.Directives.directive('cart', [ '$rootScope', '$uibModal', 'dialogs',
|
|||||||
// ask confirmation
|
// ask confirmation
|
||||||
const modalInstance = $uibModal.open({
|
const modalInstance = $uibModal.open({
|
||||||
animation: true,
|
animation: true,
|
||||||
templateUrl: '<%= asset_pack_path "shared/_reserve_slot_tags_mismatch.html" %>',
|
templateUrl: 'shared/_reserve_slot_tags_mismatch.html',
|
||||||
size: 'md',
|
size: 'md',
|
||||||
controller: 'ReserveSlotTagsMismatchController',
|
controller: 'ReserveSlotTagsMismatchController',
|
||||||
resolve: {
|
resolve: {
|
||||||
@ -357,7 +357,7 @@ Application.Directives.directive('cart', [ '$rootScope', '$uibModal', 'dialogs',
|
|||||||
if (sameTimeReservations.length > 0) {
|
if (sameTimeReservations.length > 0) {
|
||||||
const modalInstance = $uibModal.open({
|
const modalInstance = $uibModal.open({
|
||||||
animation: true,
|
animation: true,
|
||||||
templateUrl: '<%= asset_pack_path "shared/_reserve_slot_same_time.html" %>',
|
templateUrl: 'shared/_reserve_slot_same_time.html',
|
||||||
size: 'md',
|
size: 'md',
|
||||||
controller: 'ReserveSlotSameTimeController',
|
controller: 'ReserveSlotSameTimeController',
|
||||||
resolve: {
|
resolve: {
|
||||||
@ -447,7 +447,7 @@ Application.Directives.directive('cart', [ '$rootScope', '$uibModal', 'dialogs',
|
|||||||
$scope.slot.cancelable = slotCanBeCanceled($scope.slot);
|
$scope.slot.cancelable = slotCanBeCanceled($scope.slot);
|
||||||
// -> then, we open a dialog to ask to the user to choose an action
|
// -> then, we open a dialog to ask to the user to choose an action
|
||||||
return dialogs.confirm({
|
return dialogs.confirm({
|
||||||
templateUrl: '<%= asset_pack_path "shared/confirm_modify_slot_modal.html" %>',
|
templateUrl: 'shared/confirm_modify_slot_modal.html',
|
||||||
resolve: {
|
resolve: {
|
||||||
object () { return $scope.slot; }
|
object () { return $scope.slot; }
|
||||||
}
|
}
|
||||||
@ -612,7 +612,7 @@ Application.Directives.directive('cart', [ '$rootScope', '$uibModal', 'dialogs',
|
|||||||
*/
|
*/
|
||||||
const payByStripe = function (reservation) {
|
const payByStripe = function (reservation) {
|
||||||
$uibModal.open({
|
$uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "stripe/payment_modal.html" %>',
|
templateUrl: 'stripe/payment_modal.html',
|
||||||
size: 'md',
|
size: 'md',
|
||||||
resolve: {
|
resolve: {
|
||||||
reservation () {
|
reservation () {
|
||||||
@ -673,7 +673,7 @@ Application.Directives.directive('cart', [ '$rootScope', '$uibModal', 'dialogs',
|
|||||||
*/
|
*/
|
||||||
const payOnSite = function (reservation) {
|
const payOnSite = function (reservation) {
|
||||||
$uibModal.open({
|
$uibModal.open({
|
||||||
templateUrl: '<%= asset_pack_path "shared/valid_reservation_modal.html" %>',
|
templateUrl: 'shared/valid_reservation_modal.html',
|
||||||
size: 'sm',
|
size: 'sm',
|
||||||
resolve: {
|
resolve: {
|
||||||
reservation () {
|
reservation () {
|
||||||
|
@ -18,7 +18,7 @@ Application.Directives.directive('coupon', [ '$rootScope', 'Coupon', '_t', funct
|
|||||||
total: '=',
|
total: '=',
|
||||||
userId: '@'
|
userId: '@'
|
||||||
},
|
},
|
||||||
templateUrl: '<%= asset_pack_path "shared/_coupon.html" %>',
|
templateUrl: 'shared/_coupon.html',
|
||||||
link ($scope, element, attributes) {
|
link ($scope, element, attributes) {
|
||||||
// Whether code input is shown or not (ie. the link 'I have a coupon' is shown)
|
// Whether code input is shown or not (ie. the link 'I have a coupon' is shown)
|
||||||
$scope.code =
|
$scope.code =
|
||||||
|
@ -15,6 +15,6 @@ Application.Directives.directive('fabUserAvatar', [ function () {
|
|||||||
userAvatar: '=ngModel',
|
userAvatar: '=ngModel',
|
||||||
avatarClass: '@'
|
avatarClass: '@'
|
||||||
},
|
},
|
||||||
templateUrl: '<%= asset_pack_path "shared/_user_avatar.html" %>'
|
templateUrl: 'shared/_user_avatar.html'
|
||||||
});
|
});
|
||||||
}]);
|
}]);
|
||||||
|
@ -2,7 +2,7 @@ Application.Directives.directive('events', [ 'Event',
|
|||||||
function (Event) {
|
function (Event) {
|
||||||
return ({
|
return ({
|
||||||
restrict: 'E',
|
restrict: 'E',
|
||||||
templateUrl: '<%= asset_pack_path "home/events.html" %>',
|
templateUrl: 'home/events.html',
|
||||||
link ($scope, element, attributes) {
|
link ($scope, element, attributes) {
|
||||||
// The closest upcoming events
|
// The closest upcoming events
|
||||||
$scope.upcomingEvents = null;
|
$scope.upcomingEvents = null;
|
||||||
|
@ -2,7 +2,7 @@ Application.Directives.directive('news', [ 'Setting',
|
|||||||
function (Setting) {
|
function (Setting) {
|
||||||
return ({
|
return ({
|
||||||
restrict: 'E',
|
restrict: 'E',
|
||||||
templateUrl: '<%= asset_pack_path "home/news.html" %>',
|
templateUrl: 'home/news.html',
|
||||||
link ($scope, element, attributes) {
|
link ($scope, element, attributes) {
|
||||||
// The admin blogpost
|
// The admin blogpost
|
||||||
$scope.homeBlogpost = null;
|
$scope.homeBlogpost = null;
|
||||||
|
@ -2,7 +2,7 @@ Application.Directives.directive('projects', [ 'Project',
|
|||||||
function (Project) {
|
function (Project) {
|
||||||
return ({
|
return ({
|
||||||
restrict: 'E',
|
restrict: 'E',
|
||||||
templateUrl: '<%= asset_pack_path "home/projects.html" %>',
|
templateUrl: 'home/projects.html',
|
||||||
link ($scope, element, attributes) {
|
link ($scope, element, attributes) {
|
||||||
// The last projects published/documented on the platform
|
// The last projects published/documented on the platform
|
||||||
$scope.lastProjects = null;
|
$scope.lastProjects = null;
|
||||||
|
@ -8,7 +8,7 @@ Application.Directives.directive('twitter', ['Setting',
|
|||||||
function (Setting) {
|
function (Setting) {
|
||||||
return ({
|
return ({
|
||||||
restrict: 'E',
|
restrict: 'E',
|
||||||
templateUrl: '<%= asset_pack_path "home/twitter.html" %>',
|
templateUrl: 'home/twitter.html',
|
||||||
link ($scope, element, attributes) {
|
link ($scope, element, attributes) {
|
||||||
// Twitter username
|
// Twitter username
|
||||||
$scope.twitterName = null;
|
$scope.twitterName = null;
|
||||||
|
@ -2,7 +2,7 @@ Application.Directives.directive('members', [ 'Member',
|
|||||||
function (Member) {
|
function (Member) {
|
||||||
return ({
|
return ({
|
||||||
restrict: 'E',
|
restrict: 'E',
|
||||||
templateUrl: '<%= asset_pack_path "home/members.html" %>',
|
templateUrl: 'home/members.html',
|
||||||
link ($scope, element, attributes) {
|
link ($scope, element, attributes) {
|
||||||
// The last registered members who confirmed their addresses
|
// The last registered members who confirmed their addresses
|
||||||
$scope.lastMembers = null;
|
$scope.lastMembers = null;
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
Application.Directives.directive('selectMember', [ 'Diacritics', 'Member', function (Diacritics, Member) {
|
Application.Directives.directive('selectMember', [ 'Diacritics', 'Member', function (Diacritics, Member) {
|
||||||
return ({
|
return ({
|
||||||
restrict: 'E',
|
restrict: 'E',
|
||||||
templateUrl: '<%= asset_pack_path "shared/_member_select.html" %>',
|
templateUrl: 'shared/_member_select.html',
|
||||||
link (scope, element, attributes) {
|
link (scope, element, attributes) {
|
||||||
return scope.autoCompleteName = function (nameLookup) {
|
return scope.autoCompleteName = function (nameLookup) {
|
||||||
if (!nameLookup) {
|
if (!nameLookup) {
|
||||||
|
@ -11,7 +11,7 @@ Application.Directives.directive('booleanSetting', ['Setting', 'growl', '_t',
|
|||||||
classes: '@',
|
classes: '@',
|
||||||
onBeforeSave: '='
|
onBeforeSave: '='
|
||||||
},
|
},
|
||||||
templateUrl: '<%= asset_pack_path "admin/settings/boolean.html" %>',
|
templateUrl: 'admin/settings/boolean.html',
|
||||||
link ($scope, element, attributes) {
|
link ($scope, element, attributes) {
|
||||||
// The setting
|
// The setting
|
||||||
$scope.setting = {
|
$scope.setting = {
|
||||||
|
@ -12,7 +12,7 @@ Application.Directives.directive('numberSetting', ['Setting', 'growl', '_t',
|
|||||||
min: '@',
|
min: '@',
|
||||||
required: '<'
|
required: '<'
|
||||||
},
|
},
|
||||||
templateUrl: '<%= asset_pack_path "admin/settings/number.html" %>',
|
templateUrl: 'admin/settings/number.html',
|
||||||
link ($scope, element, attributes) {
|
link ($scope, element, attributes) {
|
||||||
// The setting
|
// The setting
|
||||||
$scope.setting = {
|
$scope.setting = {
|
||||||
|
@ -12,7 +12,7 @@ Application.Directives.directive('selectMultipleSetting', ['Setting', 'growl', '
|
|||||||
descriptionNew: '@',
|
descriptionNew: '@',
|
||||||
beforeAdd: '='
|
beforeAdd: '='
|
||||||
},
|
},
|
||||||
templateUrl: '<%= asset_pack_path "admin/settings/select-multiple.html" %>',
|
templateUrl: 'admin/settings/select-multiple.html',
|
||||||
link ($scope, element, attributes) {
|
link ($scope, element, attributes) {
|
||||||
// The setting
|
// The setting
|
||||||
$scope.setting = {
|
$scope.setting = {
|
||||||
|
@ -14,7 +14,7 @@ Application.Directives.directive('selectSetting', ['Setting', 'growl', '_t',
|
|||||||
option4: '<',
|
option4: '<',
|
||||||
option5: '<'
|
option5: '<'
|
||||||
},
|
},
|
||||||
templateUrl: '<%= asset_pack_path "admin/settings/select.html" %>',
|
templateUrl: 'admin/settings/select.html',
|
||||||
link ($scope, element, attributes) {
|
link ($scope, element, attributes) {
|
||||||
// The setting
|
// The setting
|
||||||
$scope.setting = {
|
$scope.setting = {
|
||||||
|
@ -15,7 +15,7 @@ Application.Directives.directive('textSetting', ['Setting', 'growl', '_t',
|
|||||||
minLength: '@',
|
minLength: '@',
|
||||||
readOnly: '<'
|
readOnly: '<'
|
||||||
},
|
},
|
||||||
templateUrl: '<%= asset_pack_path "admin/settings/text.html" %>',
|
templateUrl: 'admin/settings/text.html',
|
||||||
link ($scope, element, attributes) {
|
link ($scope, element, attributes) {
|
||||||
// if type is not specified, use text as default
|
// if type is not specified, use text as default
|
||||||
if (typeof $scope.type === 'undefined') {
|
if (typeof $scope.type === 'undefined') {
|
||||||
|
@ -16,13 +16,13 @@ Application.Directives.directive('socialLink', [ function () {
|
|||||||
network: '@?',
|
network: '@?',
|
||||||
user: '='
|
user: '='
|
||||||
},
|
},
|
||||||
templateUrl: '<%= asset_pack_path "shared/_social_link.html" %>',
|
templateUrl: 'shared/_social_link.html',
|
||||||
link (scope, element, attributes) {
|
link (scope, element, attributes) {
|
||||||
if (scope.network === 'dailymotion') {
|
if (scope.network === 'dailymotion') {
|
||||||
scope.image = "<%= asset_pack_path('social/dailymotion.png') %>";
|
scope.image = "social/dailymotion.png";
|
||||||
return scope.altText = 'd';
|
return scope.altText = 'd';
|
||||||
} else if (scope.network === 'echosciences') {
|
} else if (scope.network === 'echosciences') {
|
||||||
scope.image = "<%= asset_pack_path('social/echosciences.png') %>";
|
scope.image = "social/echosciences.png";
|
||||||
return scope.altText = 'E)';
|
return scope.altText = 'E)';
|
||||||
} else {
|
} else {
|
||||||
if (scope.network === 'website') {
|
if (scope.network === 'website') {
|
||||||
|
@ -21,14 +21,14 @@ angular.module('application.router', ['ui.router'])
|
|||||||
abstract: true,
|
abstract: true,
|
||||||
views: {
|
views: {
|
||||||
'header': {
|
'header': {
|
||||||
templateUrl: '<%= asset_pack_path "shared/header.html" %>'
|
templateUrl: 'shared/header.html'
|
||||||
},
|
},
|
||||||
'leftnav': {
|
'leftnav': {
|
||||||
templateUrl: '<%= asset_pack_path "shared/leftnav.html" %>',
|
templateUrl: 'shared/leftnav.html',
|
||||||
controller: 'MainNavController'
|
controller: 'MainNavController'
|
||||||
},
|
},
|
||||||
'cookies': {
|
'cookies': {
|
||||||
templateUrl: '<%= asset_pack_path "shared/cookies.html" %>',
|
templateUrl: 'shared/cookies.html',
|
||||||
controller: 'CookiesController'
|
controller: 'CookiesController'
|
||||||
},
|
},
|
||||||
'main': {}
|
'main': {}
|
||||||
@ -92,7 +92,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/about',
|
url: '/about',
|
||||||
views: {
|
views: {
|
||||||
'content@': {
|
'content@': {
|
||||||
templateUrl: '<%= asset_pack_path "shared/about.html" %>',
|
templateUrl: 'shared/about.html',
|
||||||
controller: 'AboutController'
|
controller: 'AboutController'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -101,7 +101,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/?reset_password_token',
|
url: '/?reset_password_token',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "home.html" %>',
|
templateUrl: 'home.html',
|
||||||
controller: 'HomeController'
|
controller: 'HomeController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -113,7 +113,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/privacy-policy',
|
url: '/privacy-policy',
|
||||||
views: {
|
views: {
|
||||||
'content@': {
|
'content@': {
|
||||||
templateUrl: '<%= asset_pack_path "shared/privacy.html" %>',
|
templateUrl: 'shared/privacy.html',
|
||||||
controller: 'PrivacyController'
|
controller: 'PrivacyController'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -124,7 +124,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/profile_completion',
|
url: '/profile_completion',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "profile/complete.html"%>',
|
templateUrl: 'profile/complete.html',
|
||||||
controller: 'CompleteProfileController'
|
controller: 'CompleteProfileController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -150,7 +150,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/profile',
|
url: '/profile',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "dashboard/profile.html" %>',
|
templateUrl: 'dashboard/profile.html',
|
||||||
controller: 'DashboardController'
|
controller: 'DashboardController'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -159,7 +159,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/settings',
|
url: '/settings',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "dashboard/settings.html" %>',
|
templateUrl: 'dashboard/settings.html',
|
||||||
controller: 'EditProfileController'
|
controller: 'EditProfileController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -173,7 +173,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/projects',
|
url: '/projects',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "dashboard/projects.html" %>',
|
templateUrl: 'dashboard/projects.html',
|
||||||
controller: 'DashboardController'
|
controller: 'DashboardController'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -182,7 +182,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/trainings',
|
url: '/trainings',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "dashboard/trainings.html" %>',
|
templateUrl: 'dashboard/trainings.html',
|
||||||
controller: 'DashboardController'
|
controller: 'DashboardController'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -191,7 +191,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/events',
|
url: '/events',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "dashboard/events.html" %>',
|
templateUrl: 'dashboard/events.html',
|
||||||
controller: 'DashboardController'
|
controller: 'DashboardController'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -200,7 +200,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/invoices',
|
url: '/invoices',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "dashboard/invoices.html" %>',
|
templateUrl: 'dashboard/invoices.html',
|
||||||
controller: 'DashboardController'
|
controller: 'DashboardController'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -210,7 +210,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
abstract: !Fablab.walletModule,
|
abstract: !Fablab.walletModule,
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "dashboard/wallet.html" %>',
|
templateUrl: 'dashboard/wallet.html',
|
||||||
controller: 'WalletController'
|
controller: 'WalletController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -225,7 +225,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/members/:id',
|
url: '/members/:id',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "members/show.html" %>',
|
templateUrl: 'members/show.html',
|
||||||
controller: 'ShowProfileController'
|
controller: 'ShowProfileController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -237,7 +237,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/members',
|
url: '/members',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "members/index.html" %>',
|
templateUrl: 'members/index.html',
|
||||||
controller: 'MembersController'
|
controller: 'MembersController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -251,7 +251,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/projects?q&page&theme_id&component_id&machine_id&from&whole_network',
|
url: '/projects?q&page&theme_id&component_id&machine_id&from&whole_network',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "projects/index.html.erb" %>',
|
templateUrl: 'projects/index.html.erb',
|
||||||
controller: 'ProjectsController'
|
controller: 'ProjectsController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -267,7 +267,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/projects/new',
|
url: '/projects/new',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "projects/new.html" %>',
|
templateUrl: 'projects/new.html',
|
||||||
controller: 'NewProjectController'
|
controller: 'NewProjectController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -279,7 +279,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/projects/:id',
|
url: '/projects/:id',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "projects/show.html" %>',
|
templateUrl: 'projects/show.html',
|
||||||
controller: 'ShowProjectController'
|
controller: 'ShowProjectController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -292,7 +292,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/projects/:id/edit',
|
url: '/projects/:id/edit',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "projects/edit.html" %>',
|
templateUrl: 'projects/edit.html',
|
||||||
controller: 'EditProjectController'
|
controller: 'EditProjectController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -307,7 +307,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/machines',
|
url: '/machines',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "machines/index.html.erb" %>',
|
templateUrl: 'machines/index.html.erb',
|
||||||
controller: 'MachinesController'
|
controller: 'MachinesController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -320,7 +320,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/machines/new',
|
url: '/machines/new',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "machines/new.html" %>',
|
templateUrl: 'machines/new.html',
|
||||||
controller: 'NewMachineController'
|
controller: 'NewMachineController'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -329,7 +329,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/machines/:id',
|
url: '/machines/:id',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "machines/show.html" %>',
|
templateUrl: 'machines/show.html',
|
||||||
controller: 'ShowMachineController'
|
controller: 'ShowMachineController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -341,7 +341,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/machines/:id/reserve',
|
url: '/machines/:id/reserve',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "machines/reserve.html" %>',
|
templateUrl: 'machines/reserve.html',
|
||||||
controller: 'ReserveMachineController'
|
controller: 'ReserveMachineController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -362,7 +362,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/machines/:id/edit',
|
url: '/machines/:id/edit',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "machines/edit.html" %>',
|
templateUrl: 'machines/edit.html',
|
||||||
controller: 'EditMachineController'
|
controller: 'EditMachineController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -377,7 +377,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
abstract: !Fablab.spacesModule,
|
abstract: !Fablab.spacesModule,
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "spaces/index.html" %>',
|
templateUrl: 'spaces/index.html',
|
||||||
controller: 'SpacesController'
|
controller: 'SpacesController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -391,7 +391,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
abstract: !Fablab.spacesModule,
|
abstract: !Fablab.spacesModule,
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "spaces/new.html" %>',
|
templateUrl: 'spaces/new.html',
|
||||||
controller: 'NewSpaceController'
|
controller: 'NewSpaceController'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -401,7 +401,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
abstract: !Fablab.spacesModule,
|
abstract: !Fablab.spacesModule,
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "spaces/show.html" %>',
|
templateUrl: 'spaces/show.html',
|
||||||
controller: 'ShowSpaceController'
|
controller: 'ShowSpaceController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -414,7 +414,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
abstract: !Fablab.spacesModule,
|
abstract: !Fablab.spacesModule,
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "spaces/edit.html" %>',
|
templateUrl: 'spaces/edit.html',
|
||||||
controller: 'EditSpaceController'
|
controller: 'EditSpaceController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -427,7 +427,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
abstract: !Fablab.spacesModule,
|
abstract: !Fablab.spacesModule,
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "spaces/reserve.html" %>',
|
templateUrl: 'spaces/reserve.html',
|
||||||
controller: 'ReserveSpaceController'
|
controller: 'ReserveSpaceController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -450,7 +450,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/trainings',
|
url: '/trainings',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "trainings/index.html.erb" %>',
|
templateUrl: 'trainings/index.html.erb',
|
||||||
controller: 'TrainingsController'
|
controller: 'TrainingsController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -462,7 +462,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/trainings/:id',
|
url: '/trainings/:id',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "trainings/show.html" %>',
|
templateUrl: 'trainings/show.html',
|
||||||
controller: 'ShowTrainingController'
|
controller: 'ShowTrainingController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -474,7 +474,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/trainings/:id/reserve',
|
url: '/trainings/:id/reserve',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "trainings/reserve.html" %>',
|
templateUrl: 'trainings/reserve.html',
|
||||||
controller: 'ReserveTrainingController'
|
controller: 'ReserveTrainingController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -499,7 +499,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/notifications',
|
url: '/notifications',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "notifications/index.html.erb" %>',
|
templateUrl: 'notifications/index.html.erb',
|
||||||
controller: 'NotificationsController'
|
controller: 'NotificationsController'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -511,7 +511,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
abstract: !Fablab.plansModule,
|
abstract: !Fablab.plansModule,
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "plans/index.html.erb" %>',
|
templateUrl: 'plans/index.html.erb',
|
||||||
controller: 'PlansIndexController'
|
controller: 'PlansIndexController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -528,7 +528,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/events',
|
url: '/events',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "events/index.html.erb" %>',
|
templateUrl: 'events/index.html.erb',
|
||||||
controller: 'EventsController'
|
controller: 'EventsController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -543,7 +543,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/events/:id',
|
url: '/events/:id',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "events/show.html" %>',
|
templateUrl: 'events/show.html',
|
||||||
controller: 'ShowEventController'
|
controller: 'ShowEventController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -559,7 +559,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/calendar',
|
url: '/calendar',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "calendar/calendar.html" %>',
|
templateUrl: 'calendar/calendar.html',
|
||||||
controller: 'CalendarController'
|
controller: 'CalendarController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -579,7 +579,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/calendar',
|
url: '/admin/calendar',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/calendar/calendar.html" %>',
|
templateUrl: 'admin/calendar/calendar.html',
|
||||||
controller: 'AdminCalendarController'
|
controller: 'AdminCalendarController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -596,7 +596,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/calendar/icalendar',
|
url: '/admin/calendar/icalendar',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/calendar/icalendar.html" %>',
|
templateUrl: 'admin/calendar/icalendar.html',
|
||||||
controller: 'AdminICalendarController'
|
controller: 'AdminICalendarController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -610,7 +610,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/projects',
|
url: '/admin/projects',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/projects/index.html.erb" %>',
|
templateUrl: 'admin/projects/index.html.erb',
|
||||||
controller: 'AdminProjectsController'
|
controller: 'AdminProjectsController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -628,7 +628,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/abuses',
|
url: '/admin/abuses',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/abuses/index.html" %>',
|
templateUrl: 'admin/abuses/index.html',
|
||||||
controller: 'AbusesController'
|
controller: 'AbusesController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -642,7 +642,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/trainings',
|
url: '/admin/trainings',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/trainings/index.html.erb" %>',
|
templateUrl: 'admin/trainings/index.html.erb',
|
||||||
controller: 'TrainingsAdminController'
|
controller: 'TrainingsAdminController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -656,7 +656,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/trainings/new',
|
url: '/admin/trainings/new',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/trainings/new.html" %>',
|
templateUrl: 'admin/trainings/new.html',
|
||||||
controller: 'NewTrainingController'
|
controller: 'NewTrainingController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -668,7 +668,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/trainings/:id/edit',
|
url: '/admin/trainings/:id/edit',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/trainings/edit.html" %>',
|
templateUrl: 'admin/trainings/edit.html',
|
||||||
controller: 'EditTrainingController'
|
controller: 'EditTrainingController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -682,7 +682,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/events',
|
url: '/admin/events',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/events/index.html.erb" %>',
|
templateUrl: 'admin/events/index.html.erb',
|
||||||
controller: 'AdminEventsController'
|
controller: 'AdminEventsController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -699,7 +699,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/events/new',
|
url: '/admin/events/new',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "events/new.html" %>',
|
templateUrl: 'events/new.html',
|
||||||
controller: 'NewEventController'
|
controller: 'NewEventController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -714,7 +714,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/events/:id/edit',
|
url: '/admin/events/:id/edit',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "events/edit.html" %>',
|
templateUrl: 'events/edit.html',
|
||||||
controller: 'EditEventController'
|
controller: 'EditEventController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -730,7 +730,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/events/:id/reservations',
|
url: '/admin/events/:id/reservations',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/events/reservations.html" %>',
|
templateUrl: 'admin/events/reservations.html',
|
||||||
controller: 'ShowEventReservationsController'
|
controller: 'ShowEventReservationsController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -745,7 +745,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/pricing',
|
url: '/admin/pricing',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/pricing/index.html.erb" %>',
|
templateUrl: 'admin/pricing/index.html.erb',
|
||||||
controller: 'EditPricingController'
|
controller: 'EditPricingController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -779,7 +779,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/plans/new',
|
url: '/admin/plans/new',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/plans/new.html" %>',
|
templateUrl: 'admin/plans/new.html',
|
||||||
controller: 'NewPlanController'
|
controller: 'NewPlanController'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -788,7 +788,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/plans/:id/edit',
|
url: '/admin/plans/:id/edit',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/plans/edit.html" %>',
|
templateUrl: 'admin/plans/edit.html',
|
||||||
controller: 'EditPlanController'
|
controller: 'EditPlanController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -805,7 +805,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/coupons/new',
|
url: '/admin/coupons/new',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/coupons/new.html" %>',
|
templateUrl: 'admin/coupons/new.html',
|
||||||
controller: 'NewCouponController'
|
controller: 'NewCouponController'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -814,7 +814,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/coupons/:id/edit',
|
url: '/admin/coupons/:id/edit',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/coupons/edit.html" %>',
|
templateUrl: 'admin/coupons/edit.html',
|
||||||
controller: 'EditCouponController'
|
controller: 'EditCouponController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -828,7 +828,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/invoices',
|
url: '/admin/invoices',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/invoices/index.html.erb" %>',
|
templateUrl: 'admin/invoices/index.html.erb',
|
||||||
controller: 'InvoicesController'
|
controller: 'InvoicesController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -860,19 +860,19 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/members',
|
url: '/admin/members',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/members/index.html.erb" %>',
|
templateUrl: 'admin/members/index.html.erb',
|
||||||
controller: 'AdminMembersController'
|
controller: 'AdminMembersController'
|
||||||
},
|
},
|
||||||
'groups@app.admin.members': {
|
'groups@app.admin.members': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/groups/index.html.erb" %>',
|
templateUrl: 'admin/groups/index.html.erb',
|
||||||
controller: 'GroupsController'
|
controller: 'GroupsController'
|
||||||
},
|
},
|
||||||
'tags@app.admin.members': {
|
'tags@app.admin.members': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/tags/index.html.erb" %>',
|
templateUrl: 'admin/tags/index.html.erb',
|
||||||
controller: 'TagsController'
|
controller: 'TagsController'
|
||||||
},
|
},
|
||||||
'authentification@app.admin.members': {
|
'authentification@app.admin.members': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/authentications/index.html.erb" %>',
|
templateUrl: 'admin/authentications/index.html.erb',
|
||||||
controller: 'AuthentificationController'
|
controller: 'AuthentificationController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -891,7 +891,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/members/new',
|
url: '/admin/members/new',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/members/new.html" %>',
|
templateUrl: 'admin/members/new.html',
|
||||||
controller: 'NewMemberController'
|
controller: 'NewMemberController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -903,7 +903,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/members/import',
|
url: '/admin/members/import',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/members/import.html" %>',
|
templateUrl: 'admin/members/import.html',
|
||||||
controller: 'ImportMembersController'
|
controller: 'ImportMembersController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -915,7 +915,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/members/import/:id/results',
|
url: '/admin/members/import/:id/results',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/members/import_result.html" %>',
|
templateUrl: 'admin/members/import_result.html',
|
||||||
controller: 'ImportMembersResultController'
|
controller: 'ImportMembersResultController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -927,7 +927,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/members/:id/edit',
|
url: '/admin/members/:id/edit',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/members/edit.html" %>',
|
templateUrl: 'admin/members/edit.html',
|
||||||
controller: 'EditMemberController'
|
controller: 'EditMemberController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -944,7 +944,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/admins/new',
|
url: '/admin/admins/new',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/admins/new.html" %>',
|
templateUrl: 'admin/admins/new.html',
|
||||||
controller: 'NewAdminController'
|
controller: 'NewAdminController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -956,7 +956,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/managers/new',
|
url: '/admin/managers/new',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/managers/new.html" %>',
|
templateUrl: 'admin/managers/new.html',
|
||||||
controller: 'NewManagerController'
|
controller: 'NewManagerController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -971,7 +971,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/authentications/new',
|
url: '/admin/authentications/new',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/authentications/new.html" %>',
|
templateUrl: 'admin/authentications/new.html',
|
||||||
controller: 'NewAuthenticationController'
|
controller: 'NewAuthenticationController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -984,7 +984,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/authentications/:id/edit',
|
url: '/admin/authentications/:id/edit',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/authentications/edit.html" %>',
|
templateUrl: 'admin/authentications/edit.html',
|
||||||
controller: 'EditAuthenticationController'
|
controller: 'EditAuthenticationController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1000,7 +1000,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
abstract: !Fablab.statisticsModule,
|
abstract: !Fablab.statisticsModule,
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/statistics/index.html.erb" %>',
|
templateUrl: 'admin/statistics/index.html.erb',
|
||||||
controller: 'StatisticsController'
|
controller: 'StatisticsController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1015,7 +1015,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
abstract: !Fablab.statisticsModule,
|
abstract: !Fablab.statisticsModule,
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/statistics/graphs.html" %>',
|
templateUrl: 'admin/statistics/graphs.html',
|
||||||
controller: 'GraphsController'
|
controller: 'GraphsController'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1026,7 +1026,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/admin/settings',
|
url: '/admin/settings',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/settings/index.html.erb" %>',
|
templateUrl: 'admin/settings/index.html.erb',
|
||||||
controller: 'SettingsController'
|
controller: 'SettingsController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1058,7 +1058,7 @@ angular.module('application.router', ['ui.router'])
|
|||||||
url: '/open_api_clients',
|
url: '/open_api_clients',
|
||||||
views: {
|
views: {
|
||||||
'main@': {
|
'main@': {
|
||||||
templateUrl: '<%= asset_pack_path "admin/open_api_clients/index.html.erb" %>',
|
templateUrl: 'admin/open_api_clients/index.html.erb',
|
||||||
controller: 'OpenAPIClientsController'
|
controller: 'OpenAPIClientsController'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -4,7 +4,7 @@ Application.Services.factory('dialogs', ['$uibModal', function ($uibModal) {
|
|||||||
return ({
|
return ({
|
||||||
confirm (options, success, error) {
|
confirm (options, success, error) {
|
||||||
const defaultOpts = {
|
const defaultOpts = {
|
||||||
templateUrl: '<%= asset_pack_path "shared/confirm_modal.html" %>',
|
templateUrl: 'shared/confirm_modal.html',
|
||||||
size: 'sm',
|
size: 'sm',
|
||||||
resolve: {
|
resolve: {
|
||||||
object () {
|
object () {
|
||||||
|
@ -34,7 +34,7 @@ Application.Services.factory('Help', ['$rootScope', '$uibModal', '$state', 'Auth
|
|||||||
|
|
||||||
$uibModal.open({
|
$uibModal.open({
|
||||||
animation: true,
|
animation: true,
|
||||||
templateUrl: '<%= asset_pack_path "shared/help_modal.html" %>',
|
templateUrl: 'shared/help_modal.html',
|
||||||
resolve: {
|
resolve: {
|
||||||
tourName: function () { return tourName; }
|
tourName: function () { return tourName; }
|
||||||
},
|
},
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
<form role="form" name="adminForm" class="form-horizontal" novalidate>
|
<form role="form" name="adminForm" class="form-horizontal" novalidate>
|
||||||
<section class="panel panel-default bg-light m-lg">
|
<section class="panel panel-default bg-light m-lg">
|
||||||
<div class="panel-body m-r">
|
<div class="panel-body m-r">
|
||||||
<ng-include src="'<%= asset_pack_path "shared/_admin_form.html" %>'"></ng-include>
|
<ng-include src="'shared/_admin_form.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -90,4 +90,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ng-include src="'<%= asset_pack_path "admin/authentications/_oauth2_mapping.html" %>'"></ng-include>
|
<ng-include src="'admin/authentications/_oauth2_mapping.html'"></ng-include>
|
||||||
|
@ -35,8 +35,8 @@
|
|||||||
|
|
||||||
<section class="panel panel-default bg-light m-lg">
|
<section class="panel panel-default bg-light m-lg">
|
||||||
<div class="panel-body m-r">
|
<div class="panel-body m-r">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/authentications/_form.html" %>'"></ng-include>
|
<ng-include src="'admin/authentications/_form.html'"></ng-include>
|
||||||
<ng-include src="'<%= asset_pack_path "admin/authentications/_oauth2.html"%>'" ng-if="provider.providable_type == 'OAuth2Provider'"></ng-include>
|
<ng-include src="'admin/authentications/_oauth2.html'" ng-if="provider.providable_type == 'OAuth2Provider'"></ng-include>
|
||||||
</div> <!-- ./panel-body -->
|
</div> <!-- ./panel-body -->
|
||||||
|
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@
|
|||||||
<section class="panel panel-default bg-light m-lg">
|
<section class="panel panel-default bg-light m-lg">
|
||||||
<div class="panel-body m-r">
|
<div class="panel-body m-r">
|
||||||
|
|
||||||
<ng-include src="'<%= asset_pack_path "admin/authentications/_form.html" %>'"></ng-include>
|
<ng-include src="'admin/authentications/_form.html'"></ng-include>
|
||||||
<ng-include src="'<%= asset_pack_path "admin/authentications/_oauth2.html" %>'" ng-if="provider.providable_type == 'OAuth2Provider'"></ng-include>
|
<ng-include src="'admin/authentications/_oauth2.html'" ng-if="provider.providable_type == 'OAuth2Provider'"></ng-include>
|
||||||
</div> <!-- ./panel-body -->
|
</div> <!-- ./panel-body -->
|
||||||
|
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
<section class="row no-gutter admin-calendar"
|
<section class="row no-gutter admin-calendar"
|
||||||
ui-tour="calendar"
|
ui-tour="calendar"
|
||||||
ui-tour-backdrop="true"
|
ui-tour-backdrop="true"
|
||||||
ui-tour-template-url="'<%= asset_pack_path "shared/tour-step-template.html" %>'"
|
ui-tour-template-url="'shared/tour-step-template.html'"
|
||||||
ui-tour-use-hotkeys="true"
|
ui-tour-use-hotkeys="true"
|
||||||
ui-tour-scroll-parent-id="content-main"
|
ui-tour-scroll-parent-id="content-main"
|
||||||
post-render="setupCalendarTour">
|
post-render="setupCalendarTour">
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
<div id="couponForm">
|
<div id="couponForm">
|
||||||
<form name="couponForm" novalidate="novalidate" class="col-lg-7 col-lg-offset-2 m-t-lg form-group">
|
<form name="couponForm" novalidate="novalidate" class="col-lg-7 col-lg-offset-2 m-t-lg form-group">
|
||||||
|
|
||||||
<ng-include src="'<%= asset_pack_path "admin/coupons/_form.html" %>'"></ng-include>
|
<ng-include src="'admin/coupons/_form.html'"></ng-include>
|
||||||
|
|
||||||
<div class="panel-footer no-padder">
|
<div class="panel-footer no-padder">
|
||||||
<input type="button" value="{{ 'app.shared.buttons.confirm_changes' | translate }}" class="r-b btn-valid btn btn-warning btn-block p-lg btn-lg text-u-c" ng-disabled="couponForm.$invalid" ng-click="updateCoupon()"/>
|
<input type="button" value="{{ 'app.shared.buttons.confirm_changes' | translate }}" class="r-b btn-valid btn btn-warning btn-block p-lg btn-lg text-u-c" ng-disabled="couponForm.$invalid" ng-click="updateCoupon()"/>
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
<div id="couponForm">
|
<div id="couponForm">
|
||||||
<form name="couponForm" novalidate="novalidate" class="col-lg-10 col-lg-offset-2 m-t-lg form-group">
|
<form name="couponForm" novalidate="novalidate" class="col-lg-10 col-lg-offset-2 m-t-lg form-group">
|
||||||
|
|
||||||
<ng-include src="'<%= asset_pack_path "admin/coupons/_form.html" %>'"></ng-include>
|
<ng-include src="'admin/coupons/_form.html'"></ng-include>
|
||||||
|
|
||||||
<div class="panel-footer no-padder">
|
<div class="panel-footer no-padder">
|
||||||
<input type="button" value="{{ 'app.shared.buttons.save' | translate }}" class="r-b btn-valid btn btn-warning btn-block p-lg btn-lg text-u-c" ng-disabled="couponForm.$invalid" ng-click="saveCoupon()"/>
|
<input type="button" value="{{ 'app.shared.buttons.save' | translate }}" class="r-b btn-valid btn btn-warning btn-block p-lg btn-lg text-u-c" ng-disabled="couponForm.$invalid" ng-click="saveCoupon()"/>
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
<section class="m-lg events-management"
|
<section class="m-lg events-management"
|
||||||
ui-tour="events"
|
ui-tour="events"
|
||||||
ui-tour-backdrop="true"
|
ui-tour-backdrop="true"
|
||||||
ui-tour-template-url="'<%= asset_pack_path "shared/tour-step-template.html" %>'"
|
ui-tour-template-url="'shared/tour-step-template.html'"
|
||||||
ui-tour-use-hotkeys="true"
|
ui-tour-use-hotkeys="true"
|
||||||
ui-tour-scroll-parent-id="content-main"
|
ui-tour-scroll-parent-id="content-main"
|
||||||
post-render="setupEventsTour">
|
post-render="setupEventsTour">
|
||||||
@ -29,20 +29,20 @@
|
|||||||
<div class="col-md-12" ng-if="isAuthorized('admin')">
|
<div class="col-md-12" ng-if="isAuthorized('admin')">
|
||||||
<uib-tabset justified="true" active="tabs.active">
|
<uib-tabset justified="true" active="tabs.active">
|
||||||
<uib-tab heading="{{ 'app.admin.events.events_monitoring' | translate }}" index="0">
|
<uib-tab heading="{{ 'app.admin.events.events_monitoring' | translate }}" index="0">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/events/monitoring.html" %>'"></ng-include>
|
<ng-include src="'admin/events/monitoring.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.events.manage_filters' | translate }}" index="1">
|
<uib-tab heading="{{ 'app.admin.events.manage_filters' | translate }}" index="1">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/events/filters.html" %>'"></ng-include>
|
<ng-include src="'admin/events/filters.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.events.manage_prices_categories' | translate }}" index="2" class="prices-tab">
|
<uib-tab heading="{{ 'app.admin.events.manage_prices_categories' | translate }}" index="2" class="prices-tab">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/events/prices.html" %>'"></ng-include>
|
<ng-include src="'admin/events/prices.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
</uib-tabset>
|
</uib-tabset>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12" ng-if="isAuthorized('manager')">
|
<div class="col-md-12" ng-if="isAuthorized('manager')">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/events/monitoring.html" %>'"></ng-include>
|
<ng-include src="'admin/events/monitoring.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@ -65,7 +65,7 @@
|
|||||||
<td>{{period.start_at | amDateFormat:'L'}}</td>
|
<td>{{period.start_at | amDateFormat:'L'}}</td>
|
||||||
<td>{{period.end_at | amDateFormat:'L'}}</td>
|
<td>{{period.end_at | amDateFormat:'L'}}</td>
|
||||||
<td class="actions">
|
<td class="actions">
|
||||||
<span class="show-more" uib-popover-template="'<%= asset_pack_path 'admin/invoices/_period.html' %>'"><i class="fa fa-info-circle"></i></span>
|
<span class="show-more" uib-popover-template="'admin/invoices/_period.html'"><i class="fa fa-info-circle"></i></span>
|
||||||
<span class="download-archive" ng-click="downloadArchive(period)" ng-show="period.archive_ready"><i class="fa fa-archive"></i></span>
|
<span class="download-archive" ng-click="downloadArchive(period)" ng-show="period.archive_ready"><i class="fa fa-archive"></i></span>
|
||||||
<span class="no-pointer" ng-hide="period.archive_ready"><i class="fa fa-spinner fa-pulse"></i></span>
|
<span class="no-pointer" ng-hide="period.archive_ready"><i class="fa fa-spinner fa-pulse"></i></span>
|
||||||
</td>
|
</td>
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
<section class="m-lg invoices-management"
|
<section class="m-lg invoices-management"
|
||||||
ui-tour="invoices"
|
ui-tour="invoices"
|
||||||
ui-tour-backdrop="true"
|
ui-tour-backdrop="true"
|
||||||
ui-tour-template-url="'<%= asset_pack_path "shared/tour-step-template.html" %>'"
|
ui-tour-template-url="'shared/tour-step-template.html'"
|
||||||
ui-tour-use-hotkeys="true"
|
ui-tour-use-hotkeys="true"
|
||||||
ui-tour-scroll-parent-id="content-main"
|
ui-tour-scroll-parent-id="content-main"
|
||||||
post-render="setupInvoicesTour">
|
post-render="setupInvoicesTour">
|
||||||
@ -31,25 +31,25 @@
|
|||||||
<div class="col-md-12" ng-if="isAuthorized('admin')">
|
<div class="col-md-12" ng-if="isAuthorized('admin')">
|
||||||
<uib-tabset justified="true" active="tabs.active">
|
<uib-tabset justified="true" active="tabs.active">
|
||||||
<uib-tab heading="{{ 'app.admin.invoices.invoices_list' | translate }}" ng-show="modules.invoicing" index="0">
|
<uib-tab heading="{{ 'app.admin.invoices.invoices_list' | translate }}" ng-show="modules.invoicing" index="0">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/invoices/list.html" %>'"></ng-include>
|
<ng-include src="'admin/invoices/list.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.invoices.invoicing_settings' | translate }}" index="1" class="invoices-settings">
|
<uib-tab heading="{{ 'app.admin.invoices.invoicing_settings' | translate }}" index="1" class="invoices-settings">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/invoices/settings.html" %>'"></ng-include>
|
<ng-include src="'admin/invoices/settings.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.invoices.accounting_codes' | translate }}" index="2" class="accounting-codes-tab">
|
<uib-tab heading="{{ 'app.admin.invoices.accounting_codes' | translate }}" index="2" class="accounting-codes-tab">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/invoices/codes.html" %>'"></ng-include>
|
<ng-include src="'admin/invoices/codes.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.invoices.payment.payment_settings' | translate }}" index="3" class="payment-settings">
|
<uib-tab heading="{{ 'app.admin.invoices.payment.payment_settings' | translate }}" index="3" class="payment-settings">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/invoices/payment.html" %>'"></ng-include>
|
<ng-include src="'admin/invoices/payment.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
</uib-tabset>
|
</uib-tabset>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-12" ng-if="isAuthorized('manager')">
|
<div class="col-md-12" ng-if="isAuthorized('manager')">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/invoices/list.html" %>'"></ng-include>
|
<ng-include src="'admin/invoices/list.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
<form role="form" name="managerForm" class="form-horizontal" novalidate>
|
<form role="form" name="managerForm" class="form-horizontal" novalidate>
|
||||||
<section class="panel panel-default bg-light m-lg">
|
<section class="panel panel-default bg-light m-lg">
|
||||||
<div class="panel-body m-r">
|
<div class="panel-body m-r">
|
||||||
<ng-include src="'<%= asset_pack_path "shared/_manager_form.html" %>'"></ng-include>
|
<ng-include src="'shared/_manager_form.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -46,9 +46,9 @@
|
|||||||
|
|
||||||
<section class="panel panel-default bg-light m-lg">
|
<section class="panel panel-default bg-light m-lg">
|
||||||
<div class="panel-body m-r">
|
<div class="panel-body m-r">
|
||||||
<ng-include src="'<%= asset_pack_path "shared/_member_form.html" %>'"></ng-include>
|
<ng-include src="'shared/_member_form.html'"></ng-include>
|
||||||
|
|
||||||
<ng-include src="'<%= asset_pack_path "admin/members/_form.html" %>'"></ng-include>
|
<ng-include src="'admin/members/_form.html'"></ng-include>
|
||||||
|
|
||||||
</div> <!-- ./panel-body -->
|
</div> <!-- ./panel-body -->
|
||||||
|
|
||||||
@ -231,7 +231,7 @@
|
|||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.members_edit.wallet' | translate }}" ng-show="modules.wallet">
|
<uib-tab heading="{{ 'app.admin.members_edit.wallet' | translate }}" ng-show="modules.wallet">
|
||||||
<div class="col-md-12 m m-t-lg">
|
<div class="col-md-12 m m-t-lg">
|
||||||
<ng-include src="'<%= asset_pack_path "wallet/show.html" %>'"></ng-include>
|
<ng-include src="'wallet/show.html'"></ng-include>
|
||||||
|
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
<div class="col-sm-4 text-center" ng-hide="user.id === currentUser.id">
|
<div class="col-sm-4 text-center" ng-hide="user.id === currentUser.id">
|
||||||
@ -244,7 +244,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-12 m m-t-lg">
|
<div class="col-md-12 m m-t-lg">
|
||||||
<ng-include src="'<%= asset_pack_path "wallet/transactions.html" %>'"></ng-include>
|
<ng-include src="'wallet/transactions.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
</uib-tabset>
|
</uib-tabset>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<section class="m-lg members-management"
|
<section class="m-lg members-management"
|
||||||
ui-tour="members"
|
ui-tour="members"
|
||||||
ui-tour-backdrop="true"
|
ui-tour-backdrop="true"
|
||||||
ui-tour-template-url="'<%= asset_pack_path "shared/tour-step-template.html" %>'"
|
ui-tour-template-url="'shared/tour-step-template.html'"
|
||||||
ui-tour-use-hotkeys="true"
|
ui-tour-use-hotkeys="true"
|
||||||
ui-tour-scroll-parent-id="content-main"
|
ui-tour-scroll-parent-id="content-main"
|
||||||
post-render="setupMembersTour">
|
post-render="setupMembersTour">
|
||||||
@ -33,7 +33,7 @@
|
|||||||
<uib-tabset justified="true" active="tabs.active" ng-if="isAuthorized('admin')">
|
<uib-tabset justified="true" active="tabs.active" ng-if="isAuthorized('admin')">
|
||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.members.users' | translate }}" index="0">
|
<uib-tab heading="{{ 'app.admin.members.users' | translate }}" index="0">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/members/users.html" %>'"></ng-include>
|
<ng-include src="'admin/members/users.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.members.groups' | translate }}" class="groups-tab" index="1">
|
<uib-tab heading="{{ 'app.admin.members.groups' | translate }}" class="groups-tab" index="1">
|
||||||
@ -50,7 +50,7 @@
|
|||||||
</uib-tabset>
|
</uib-tabset>
|
||||||
|
|
||||||
<div ng-if="isAuthorized('manager')">
|
<div ng-if="isAuthorized('manager')">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/members/users.html" %>'"></ng-include>
|
<ng-include src="'admin/members/users.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -50,9 +50,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ng-include src="'<%= asset_pack_path "shared/_member_form.html" %>'"></ng-include>
|
<ng-include src="'shared/_member_form.html'"></ng-include>
|
||||||
|
|
||||||
<ng-include src="'<%= asset_pack_path "admin/members/_form.html" %>'"></ng-include>
|
<ng-include src="'admin/members/_form.html'"></ng-include>
|
||||||
</div> <!-- ./panel-body -->
|
</div> <!-- ./panel-body -->
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
<uib-tabset justified="true" active="tabs.sub" class="m-t">
|
<uib-tabset justified="true" active="tabs.sub" class="m-t">
|
||||||
|
|
||||||
<uib-tab classes="{{isAuthorized('admin') ? 'level-2-tab' : ''}}" heading="{{ 'app.admin.members.members' | translate }}" index="0">
|
<uib-tab classes="{{isAuthorized('admin') ? 'level-2-tab' : ''}}" heading="{{ 'app.admin.members.members' | translate }}" index="0">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/members/members.html" %>'"></ng-include>
|
<ng-include src="'admin/members/members.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab classes="{{isAuthorized('admin') ? 'level-2-tab' : ''}}" heading="{{ 'app.admin.members.administrators' | translate }}" class="admins-tab" index="1">
|
<uib-tab classes="{{isAuthorized('admin') ? 'level-2-tab' : ''}}" heading="{{ 'app.admin.members.administrators' | translate }}" class="admins-tab" index="1">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/members/administrators.html" %>'"></ng-include>
|
<ng-include src="'admin/members/administrators.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab classes="{{isAuthorized('admin') ? 'level-2-tab' : ''}}" heading="{{ 'app.admin.members.managers' | translate }}" class="admins-tab" index="2">
|
<uib-tab classes="{{isAuthorized('admin') ? 'level-2-tab' : ''}}" heading="{{ 'app.admin.members.managers' | translate }}" class="admins-tab" index="2">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/members/managers.html" %>'"></ng-include>
|
<ng-include src="'admin/members/managers.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab classes="{{isAuthorized('admin') ? 'level-2-tab' : ''}}" heading="{{ 'app.admin.members.partners' | translate }}" class="admins-tab" index="3" ng-show="isAuthorized('admin')">
|
<uib-tab classes="{{isAuthorized('admin') ? 'level-2-tab' : ''}}" heading="{{ 'app.admin.members.partners' | translate }}" class="admins-tab" index="3" ng-show="isAuthorized('admin')">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/members/partners.html" %>'"></ng-include>
|
<ng-include src="'admin/members/partners.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
</uib-tabset>
|
</uib-tabset>
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
<section class="m-lg open-api-clients"
|
<section class="m-lg open-api-clients"
|
||||||
ui-tour="open-api"
|
ui-tour="open-api"
|
||||||
ui-tour-backdrop="true"
|
ui-tour-backdrop="true"
|
||||||
ui-tour-template-url="'<%= asset_pack_path "shared/tour-step-template.html" %>'"
|
ui-tour-template-url="'shared/tour-step-template.html'"
|
||||||
ui-tour-use-hotkeys="true"
|
ui-tour-use-hotkeys="true"
|
||||||
ui-tour-scroll-parent-id="content-main"
|
ui-tour-scroll-parent-id="content-main"
|
||||||
post-render="setupOpenAPITour">
|
post-render="setupOpenAPITour">
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
<div id="planForm">
|
<div id="planForm">
|
||||||
<form name="planForm" novalidate="novalidate" class="col-lg-7 col-lg-offset-2 m-t-lg form-group" action="{{ actionUrl }}" ng-upload="afterSubmit(content)" upload-options-enable-rails-csrf="true">
|
<form name="planForm" novalidate="novalidate" class="col-lg-7 col-lg-offset-2 m-t-lg form-group" action="{{ actionUrl }}" ng-upload="afterSubmit(content)" upload-options-enable-rails-csrf="true">
|
||||||
|
|
||||||
<ng-include src="'<%= asset_pack_path "admin/plans/_form.html" %>'"></ng-include>
|
<ng-include src="'admin/plans/_form.html'"></ng-include>
|
||||||
|
|
||||||
<div class="input-group m-t-md">
|
<div class="input-group m-t-md">
|
||||||
<label for="plan[disabled]" class="control-label m-r-md">{{ 'app.shared.plan.disabled' | translate }}</label>
|
<label for="plan[disabled]" class="control-label m-r-md">{{ 'app.shared.plan.disabled' | translate }}</label>
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
<div id="planForm">
|
<div id="planForm">
|
||||||
<form name="planForm" novalidate="novalidate" class="col-lg-10 col-lg-offset-2 m-t-lg form-group" action="{{ actionUrl }}" ng-upload="afterSubmit(content)" upload-options-enable-rails-csrf="true">
|
<form name="planForm" novalidate="novalidate" class="col-lg-10 col-lg-offset-2 m-t-lg form-group" action="{{ actionUrl }}" ng-upload="afterSubmit(content)" upload-options-enable-rails-csrf="true">
|
||||||
|
|
||||||
<ng-include src="'<%= asset_pack_path "admin/plans/_form.html" %>'"></ng-include>
|
<ng-include src="'admin/plans/_form.html'"></ng-include>
|
||||||
|
|
||||||
<div class="panel-footer no-padder">
|
<div class="panel-footer no-padder">
|
||||||
<input type="submit" value="{{ 'app.shared.buttons.save' | translate }}" class="r-b btn-valid btn btn-warning btn-block p-lg btn-lg text-u-c" ng-disabled="planForm.$invalid || !partnerIsValid()"/>
|
<input type="submit" value="{{ 'app.shared.buttons.save' | translate }}" class="r-b btn-valid btn btn-warning btn-block p-lg btn-lg text-u-c" ng-disabled="planForm.$invalid || !partnerIsValid()"/>
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
<section class="m-lg plans-pricing"
|
<section class="m-lg plans-pricing"
|
||||||
ui-tour="pricing"
|
ui-tour="pricing"
|
||||||
ui-tour-backdrop="true"
|
ui-tour-backdrop="true"
|
||||||
ui-tour-template-url="'<%= asset_pack_path "shared/tour-step-template.html" %>'"
|
ui-tour-template-url="'shared/tour-step-template.html'"
|
||||||
ui-tour-use-hotkeys="true"
|
ui-tour-use-hotkeys="true"
|
||||||
ui-tour-scroll-parent-id="content-main"
|
ui-tour-scroll-parent-id="content-main"
|
||||||
post-render="setupPricingTour">
|
post-render="setupPricingTour">
|
||||||
@ -28,27 +28,27 @@
|
|||||||
<uib-tabset justified="true" active="tabs.active">
|
<uib-tabset justified="true" active="tabs.active">
|
||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.pricing.subscriptions' | translate }}" index="0">
|
<uib-tab heading="{{ 'app.admin.pricing.subscriptions' | translate }}" index="0">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/pricing/subscriptions.html" %>'"></ng-include>
|
<ng-include src="'admin/pricing/subscriptions.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.pricing.trainings' | translate }}" index="1" class="trainings-tab">
|
<uib-tab heading="{{ 'app.admin.pricing.trainings' | translate }}" index="1" class="trainings-tab">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/pricing/trainings.html" %>'"></ng-include>
|
<ng-include src="'admin/pricing/trainings.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.pricing.machine_hours' | translate }}" index="2" class="machines-tab">
|
<uib-tab heading="{{ 'app.admin.pricing.machine_hours' | translate }}" index="2" class="machines-tab">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/pricing/machine_hours.html" %>'"></ng-include>
|
<ng-include src="'admin/pricing/machine_hours.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.pricing.spaces' | translate }}" ng-show="modules.spaces" index="3" class="spaces-tab">
|
<uib-tab heading="{{ 'app.admin.pricing.spaces' | translate }}" ng-show="modules.spaces" index="3" class="spaces-tab">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/pricing/spaces.html" %>'"></ng-include>
|
<ng-include src="'admin/pricing/spaces.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.pricing.credits' | translate }}" index="4" class="credits-tab">
|
<uib-tab heading="{{ 'app.admin.pricing.credits' | translate }}" index="4" class="credits-tab">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/pricing/credits.html" %>'"></ng-include>
|
<ng-include src="'admin/pricing/credits.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.pricing.coupons' | translate }}" index="5" class="coupons-tab">
|
<uib-tab heading="{{ 'app.admin.pricing.coupons' | translate }}" index="5" class="coupons-tab">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/pricing/coupons.html" %>'"></ng-include>
|
<ng-include src="'admin/pricing/coupons.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
</uib-tabset>
|
</uib-tabset>
|
||||||
</div>
|
</div>
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
<section class="m-lg projects"
|
<section class="m-lg projects"
|
||||||
ui-tour="projects"
|
ui-tour="projects"
|
||||||
ui-tour-backdrop="true"
|
ui-tour-backdrop="true"
|
||||||
ui-tour-template-url="'<%= asset_pack_path "shared/tour-step-template.html" %>'"
|
ui-tour-template-url="'shared/tour-step-template.html'"
|
||||||
ui-tour-use-hotkeys="true"
|
ui-tour-use-hotkeys="true"
|
||||||
ui-tour-scroll-parent-id="content-main"
|
ui-tour-scroll-parent-id="content-main"
|
||||||
post-render="setupProjectElementsTour">
|
post-render="setupProjectElementsTour">
|
||||||
@ -31,16 +31,16 @@
|
|||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<uib-tabset justified="true" active="tabs.active">
|
<uib-tabset justified="true" active="tabs.active">
|
||||||
<uib-tab heading="{{ 'app.admin.projects.materials' | translate }}" index="0">
|
<uib-tab heading="{{ 'app.admin.projects.materials' | translate }}" index="0">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/projects/materials.html" %>'"></ng-include>
|
<ng-include src="'admin/projects/materials.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
<uib-tab heading="{{ 'app.admin.projects.themes' | translate }}" index="1">
|
<uib-tab heading="{{ 'app.admin.projects.themes' | translate }}" index="1">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/projects/themes.html" %>'"></ng-include>
|
<ng-include src="'admin/projects/themes.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
<uib-tab heading="{{ 'app.admin.projects.licences' | translate }}" index="2">
|
<uib-tab heading="{{ 'app.admin.projects.licences' | translate }}" index="2">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/projects/licences.html" %>'"></ng-include>
|
<ng-include src="'admin/projects/licences.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
<uib-tab heading="{{ 'app.admin.projects.settings.title' | translate }}" index="3" class="settings-tab">
|
<uib-tab heading="{{ 'app.admin.projects.settings.title' | translate }}" index="3" class="settings-tab">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/projects/settings.html" %>'"></ng-include>
|
<ng-include src="'admin/projects/settings.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
</uib-tabset>
|
</uib-tabset>
|
||||||
</div>
|
</div>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<section class="m-lg admin-settings"
|
<section class="m-lg admin-settings"
|
||||||
ui-tour="settings"
|
ui-tour="settings"
|
||||||
ui-tour-backdrop="true"
|
ui-tour-backdrop="true"
|
||||||
ui-tour-template-url="'<%= asset_pack_path "shared/tour-step-template.html" %>'"
|
ui-tour-template-url="'shared/tour-step-template.html'"
|
||||||
ui-tour-use-hotkeys="true"
|
ui-tour-use-hotkeys="true"
|
||||||
ui-tour-scroll-parent-id="content-main"
|
ui-tour-scroll-parent-id="content-main"
|
||||||
post-render="setupSettingsTour">
|
post-render="setupSettingsTour">
|
||||||
@ -27,23 +27,23 @@
|
|||||||
<uib-tabset justified="true" active="tabs.active">
|
<uib-tabset justified="true" active="tabs.active">
|
||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.settings.general.general' | translate }}" index="0" class="general-page-tab">
|
<uib-tab heading="{{ 'app.admin.settings.general.general' | translate }}" index="0" class="general-page-tab">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/settings/general.html" %>'"></ng-include>
|
<ng-include src="'admin/settings/general.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.settings.home_page' | translate }}" index="1">
|
<uib-tab heading="{{ 'app.admin.settings.home_page' | translate }}" index="1">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/settings/home_page.html" %>'"></ng-include>
|
<ng-include src="'admin/settings/home_page.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.settings.about' | translate }}" index="2" class="about-page-tab">
|
<uib-tab heading="{{ 'app.admin.settings.about' | translate }}" index="2" class="about-page-tab">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/settings/about.html" %>'"></ng-include>
|
<ng-include src="'admin/settings/about.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.settings.privacy.title' | translate }}" index="3" class="privacy-page-tab">
|
<uib-tab heading="{{ 'app.admin.settings.privacy.title' | translate }}" index="3" class="privacy-page-tab">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/settings/privacy.html" %>'"></ng-include>
|
<ng-include src="'admin/settings/privacy.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab heading="{{ 'app.admin.settings.reservations' | translate }}" index="4" class="reservations-page-tab">
|
<uib-tab heading="{{ 'app.admin.settings.reservations' | translate }}" index="4" class="reservations-page-tab">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/settings/reservations.html" %>'"></ng-include>
|
<ng-include src="'admin/settings/reservations.html'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
</uib-tabset>
|
</uib-tabset>
|
||||||
</div>
|
</div>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<section class="m-lg statistics"
|
<section class="m-lg statistics"
|
||||||
ui-tour="statistics"
|
ui-tour="statistics"
|
||||||
ui-tour-backdrop="true"
|
ui-tour-backdrop="true"
|
||||||
ui-tour-template-url="'<%= asset_pack_path "shared/tour-step-template.html" %>'"
|
ui-tour-template-url="'shared/tour-step-template.html'"
|
||||||
ui-tour-use-hotkeys="true"
|
ui-tour-use-hotkeys="true"
|
||||||
ui-tour-scroll-parent-id="content-main"
|
ui-tour-scroll-parent-id="content-main"
|
||||||
post-render="setupStatisticsTour">
|
post-render="setupStatisticsTour">
|
||||||
|
@ -22,6 +22,6 @@
|
|||||||
|
|
||||||
<div class="row no-gutter">
|
<div class="row no-gutter">
|
||||||
<div class="col-sm-12 col-md-12 col-lg-9 b-r-lg nopadding">
|
<div class="col-sm-12 col-md-12 col-lg-9 b-r-lg nopadding">
|
||||||
<ng-include src="'<%= asset_pack_path "admin/trainings/_form.html" %>'"></ng-include>
|
<ng-include src="'admin/trainings/_form.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
<section class="m-lg trainings-monitoring"
|
<section class="m-lg trainings-monitoring"
|
||||||
ui-tour="trainings"
|
ui-tour="trainings"
|
||||||
ui-tour-backdrop="true"
|
ui-tour-backdrop="true"
|
||||||
ui-tour-template-url="'<%= asset_pack_path "shared/tour-step-template.html" %>'"
|
ui-tour-template-url="'shared/tour-step-template.html'"
|
||||||
ui-tour-use-hotkeys="true"
|
ui-tour-use-hotkeys="true"
|
||||||
ui-tour-scroll-parent-id="content-main"
|
ui-tour-scroll-parent-id="content-main"
|
||||||
post-render="setupTrainingsTour">
|
post-render="setupTrainingsTour">
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
{{ 'app.admin.trainings_new.dont_forget_to_change_them_before_creating_slots_for_this_training' | translate }}
|
{{ 'app.admin.trainings_new.dont_forget_to_change_them_before_creating_slots_for_this_training' | translate }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ng-include src="'<%= asset_pack_path "admin/trainings/_form.html" %>'"></ng-include>
|
<ng-include src="'admin/trainings/_form.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
<h3 translate>{{ 'app.public.calendar.filter_calendar' }}</h3>
|
<h3 translate>{{ 'app.public.calendar.filter_calendar' }}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="widget-content no-bg auto wrapper calendar-filter">
|
<div class="widget-content no-bg auto wrapper calendar-filter">
|
||||||
<ng-include src="'<%= asset_pack_path "calendar/filter.html" %>'"></ng-include>
|
<ng-include src="'calendar/filter.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -56,7 +56,7 @@
|
|||||||
<h1 class="modal-title" translate>{{ 'app.public.calendar.filter_calendar' }}</h1>
|
<h1 class="modal-title" translate>{{ 'app.public.calendar.filter_calendar' }}</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body widget-content calendar-filter calendar-filter-aside">
|
<div class="modal-body widget-content calendar-filter calendar-filter-aside">
|
||||||
<ng-include src="'<%= asset_pack_path "calendar/filter.html" %>'"></ng-include>
|
<ng-include src="'calendar/filter.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<section class="heading">
|
<section class="heading">
|
||||||
<div class="row no-gutter">
|
<div class="row no-gutter">
|
||||||
<ng-include src="'<%= asset_pack_path "dashboard/nav.html" %>'"></ng-include>
|
<ng-include src="'dashboard/nav.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<section class="heading">
|
<section class="heading">
|
||||||
<div class="row no-gutter">
|
<div class="row no-gutter">
|
||||||
<ng-include src="'<%= asset_pack_path "dashboard/nav.html" %>'"></ng-include>
|
<ng-include src="'dashboard/nav.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<section class="heading">
|
<section class="heading">
|
||||||
<div class="row no-gutter">
|
<div class="row no-gutter">
|
||||||
<ng-include src="'<%= asset_pack_path "dashboard/nav.html" %>'"></ng-include>
|
<ng-include src="'dashboard/nav.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<div class="row no-gutter">
|
<div class="row no-gutter">
|
||||||
<div class="col-md-12 m m-t-lg">
|
<div class="col-md-12 m m-t-lg">
|
||||||
<ng-include src="'<%= asset_pack_path "shared/publicProfile.html" %>'"></ng-include>
|
<ng-include src="'shared/publicProfile.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<section class="heading">
|
<section class="heading">
|
||||||
<div class="row no-gutter">
|
<div class="row no-gutter">
|
||||||
<ng-include src="'<%= asset_pack_path "dashboard/nav.html" %>'"></ng-include>
|
<ng-include src="'dashboard/nav.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div>
|
<div>
|
||||||
|
|
||||||
<ng-include src="'<%= asset_pack_path "dashboard/nav.html" %>'"></ng-include>
|
<ng-include src="'dashboard/nav.html'"></ng-include>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -121,7 +121,7 @@
|
|||||||
</section>
|
</section>
|
||||||
<section class="panel panel-default bg-light m">
|
<section class="panel panel-default bg-light m">
|
||||||
<div class="panel-body m-r">
|
<div class="panel-body m-r">
|
||||||
<ng-include src="'<%= asset_pack_path "shared/_member_form.html" %>'"></ng-include>
|
<ng-include src="'shared/_member_form.html'"></ng-include>
|
||||||
</div> <!-- ./panel-body -->
|
</div> <!-- ./panel-body -->
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<section class="heading">
|
<section class="heading">
|
||||||
<div class="row no-gutter">
|
<div class="row no-gutter">
|
||||||
<ng-include src="'<%= asset_pack_path "dashboard/nav.html" %>'"></ng-include>
|
<ng-include src="'dashboard/nav.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
<div>
|
<div>
|
||||||
<section class="heading">
|
<section class="heading">
|
||||||
<div class="row no-gutter">
|
<div class="row no-gutter">
|
||||||
<ng-include src="'<%= asset_pack_path "dashboard/nav.html" %>'"></ng-include>
|
<ng-include src="'dashboard/nav.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<div class="row no-gutter">
|
<div class="row no-gutter">
|
||||||
<div class="col-md-12 m m-t-lg">
|
<div class="col-md-12 m m-t-lg">
|
||||||
<ng-include src="'<%= asset_pack_path "wallet/show.html" %>'"></ng-include>
|
<ng-include src="'wallet/show.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-12 m m-t-lg">
|
<div class="col-md-12 m m-t-lg">
|
||||||
<ng-include src="'<%= asset_pack_path "wallet/transactions.html" %>'"></ng-include>
|
<ng-include src="'wallet/transactions.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
<form role="form" name="eventForm" class="form-horizontal" novalidate action="{{ actionUrl }}" ng-upload="submited(content)" upload-options-enable-rails-csrf="true" upload-options-convert-hidden="true">
|
<form role="form" name="eventForm" class="form-horizontal" novalidate action="{{ actionUrl }}" ng-upload="submited(content)" upload-options-enable-rails-csrf="true" upload-options-convert-hidden="true">
|
||||||
|
|
||||||
<ng-include src="'<%= asset_pack_path "events/_form.html" %>'"></ng-include>
|
<ng-include src="'events/_form.html'"></ng-include>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
<form role="form" name="eventForm" class="form-horizontal" novalidate action="{{ actionUrl }}" ng-upload="submited(content)" upload-options-enable-rails-csrf="true">
|
<form role="form" name="eventForm" class="form-horizontal" novalidate action="{{ actionUrl }}" ng-upload="submited(content)" upload-options-enable-rails-csrf="true">
|
||||||
|
|
||||||
<ng-include src="'<%= asset_pack_path "events/_form.html" %>'"></ng-include>
|
<ng-include src="'events/_form.html'"></ng-include>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div ui-tour="welcome"
|
<div ui-tour="welcome"
|
||||||
ui-tour-backdrop="true"
|
ui-tour-backdrop="true"
|
||||||
ui-tour-template-url="'<%= asset_pack_path "shared/tour-step-template.html" %>'"
|
ui-tour-template-url="'shared/tour-step-template.html'"
|
||||||
ui-tour-use-hotkeys="true"
|
ui-tour-use-hotkeys="true"
|
||||||
ui-tour-scroll-parent-id="content-main"
|
ui-tour-scroll-parent-id="content-main"
|
||||||
post-render="setupHomeTour">
|
post-render="setupHomeTour">
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
<div class="row no-gutter">
|
<div class="row no-gutter">
|
||||||
<div class="col-sm-12 col-md-12 col-lg-9 b-r-lg nopadding">
|
<div class="col-sm-12 col-md-12 col-lg-9 b-r-lg nopadding">
|
||||||
<ng-include src="'<%= asset_pack_path "machines/_form.html" %>'"></ng-include>
|
<ng-include src="'machines/_form.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
<section class="m-lg machines-list"
|
<section class="m-lg machines-list"
|
||||||
ui-tour="machines"
|
ui-tour="machines"
|
||||||
ui-tour-backdrop="true"
|
ui-tour-backdrop="true"
|
||||||
ui-tour-template-url="'<%= asset_pack_path "shared/tour-step-template.html" %>'"
|
ui-tour-template-url="'shared/tour-step-template.html'"
|
||||||
ui-tour-use-hotkeys="true"
|
ui-tour-use-hotkeys="true"
|
||||||
ui-tour-scroll-parent-id="content-main"
|
ui-tour-scroll-parent-id="content-main"
|
||||||
post-render="setupMachinesTour">
|
post-render="setupMachinesTour">
|
||||||
|
@ -26,6 +26,6 @@
|
|||||||
{{ 'app.admin.machines_new.consider_changing_them_before_creating_any_reservation_slot' | translate }}
|
{{ 'app.admin.machines_new.consider_changing_them_before_creating_any_reservation_slot' | translate }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ng-include src="'<%= asset_pack_path "machines/_form.html" %>'"></ng-include>
|
<ng-include src="'machines/_form.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
<div class="row no-gutter machine-reserve">
|
<div class="row no-gutter machine-reserve">
|
||||||
<div class="col-sm-12 col-md-12 col-lg-9">
|
<div class="col-sm-12 col-md-12 col-lg-9">
|
||||||
<div ui-calendar="calendarConfig" ng-model="eventSources" calendar="calendar" class="wrapper-lg" ng-show="!plansAreShown"></div>
|
<div ui-calendar="calendarConfig" ng-model="eventSources" calendar="calendar" class="wrapper-lg" ng-show="!plansAreShown"></div>
|
||||||
<ng-include ng-if="modules.plans" src="'<%= asset_pack_path "plans/_plan.html" %>'"></ng-include>
|
<ng-include ng-if="modules.plans" src="'plans/_plan.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,5 +21,5 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<ng-include src="'<%= asset_pack_path "shared/publicProfile.html" %>'"></ng-include>
|
<ng-include src="'shared/publicProfile.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<uib-alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">{{alert.msg}}</uib-alert>
|
<uib-alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">{{alert.msg}}</uib-alert>
|
||||||
<ng-include src="'<%= asset_pack_path "shared/_wallet_amount_info.html" %>'"></ng-include>
|
<ng-include src="'shared/_wallet_amount_info.html'"></ng-include>
|
||||||
|
|
||||||
<p>{{ 'app.public.plans.here_is_the_NAME_subscription_summary' | translate:{NAME:member.name} }}</p>
|
<p>{{ 'app.public.plans.here_is_the_NAME_subscription_summary' | translate:{NAME:member.name} }}</p>
|
||||||
<p>{{ plan | humanReadablePlanName }}</p>
|
<p>{{ plan | humanReadablePlanName }}</p>
|
||||||
|
@ -36,9 +36,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row col-md-2 col-md-offset-5 hidden-sm hidden-xs" ng-hide="user.merged_at">
|
<div class="row col-md-2 col-md-offset-5 hidden-sm hidden-xs" ng-hide="user.merged_at">
|
||||||
<p class="font-felt fleche-left text-lg upper text-center">
|
<p class="font-felt fleche-left text-lg upper text-center">
|
||||||
<%= image_pack_tag("arrow-left.png", class: 'fleche-left visible-lg visible-md fleche-left-from-top') %>
|
<img src="arrow-left.png" class="fleche-left visible-lg visible-md fleche-left-from-top" />
|
||||||
<span class="or" translate>{{ 'app.logged.profile_completion.or' }}</span>
|
<span class="or" translate>{{ 'app.logged.profile_completion.or' }}</span>
|
||||||
<%= image_pack_tag("arrow-left.png", class: 'fleche-right visible-lg visible-md fleche-right-from-top') %>
|
<img src="arrow-left.png" class="fleche-right visible-lg visible-md fleche-right-from-top" />
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@ -63,7 +63,7 @@
|
|||||||
|
|
||||||
<div class="panel-body m-r">
|
<div class="panel-body m-r">
|
||||||
<!-- common fields -->
|
<!-- common fields -->
|
||||||
<ng-include src="'<%= asset_pack_path "shared/_member_form.html" %>'"></ng-include>
|
<ng-include src="'shared/_member_form.html'"></ng-include>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-3 col-sm-offset-1"></div>
|
<div class="col-sm-3 col-sm-offset-1"></div>
|
||||||
@ -151,7 +151,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6 m-t-3xl-on-md" ng-hide="user.merged_at">
|
<div class="col-md-6 m-t-3xl-on-md" ng-hide="user.merged_at">
|
||||||
<ng-include src="'<%= asset_pack_path "profile/_token.html" %>'"></ng-include>
|
<ng-include src="'profile/_token.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ng-include src="'<%= asset_pack_path "projects/_form.html" %>'"></ng-include>
|
<ng-include src="'projects/_form.html'"></ng-include>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
<form role="form" name="projectForm" class="form-horizontal" novalidate action="{{ actionUrl }}" ng-upload="submited(content)" upload-options-enable-rails-csrf="true" unsaved-warning-form>
|
<form role="form" name="projectForm" class="form-horizontal" novalidate action="{{ actionUrl }}" ng-upload="submited(content)" upload-options-enable-rails-csrf="true" unsaved-warning-form>
|
||||||
|
|
||||||
<ng-include src="'<%= asset_pack_path "projects/_form.html" %>'"></ng-include>
|
<ng-include src="'projects/_form.html'"></ng-include>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="widget-content no-bg auto wrapper" ng-show="events.reserved.length == 0 && (!events.paid || events.paid.length == 0)">
|
<div class="widget-content no-bg auto wrapper" ng-show="events.reserved.length == 0 && (!events.paid || events.paid.length == 0)">
|
||||||
<p class="font-felt fleche-left text-lg"><%= image_pack_tag('arrow-left.png', class: 'fleche-left visible-lg') %>
|
<p class="font-felt fleche-left text-lg"><img src="arrow-left.png" class="fleche-left visible-lg" />
|
||||||
{{ 'app.shared.cart.select_one_or_more_slots_in_the_calendar' | translate:{SINGLE:limitToOneSlot} }}</p>
|
{{ 'app.shared.cart.select_one_or_more_slots_in_the_calendar' | translate:{SINGLE:limitToOneSlot} }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -117,7 +117,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="widget-content no-bg">
|
<div class="widget-content no-bg">
|
||||||
<p class="font-felt fleche-left text-lg"><%= image_pack_tag('arrow-left.png', class: 'fleche-left visible-lg') %>
|
<p class="font-felt fleche-left text-lg"><img src="arrow-left.png" class="fleche-left visible-lg" />
|
||||||
{{ 'app.shared.cart.select_a_new_slot_in_the_calendar' | translate }}</p>
|
{{ 'app.shared.cart.select_a_new_slot_in_the_calendar' | translate }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<div class="form-group m-t-lg">
|
<div class="form-group m-t-lg">
|
||||||
<div class="fileinput text-center" data-provides="fileinput" ng-class="fileinputClass(user.profile.user_avatar.attachment_url)">
|
<div class="fileinput text-center" data-provides="fileinput" ng-class="fileinputClass(user.profile.user_avatar.attachment_url)">
|
||||||
<div class="fileinput-new thumbnail rounded thumb-128-wrapper" style="width: 140px; height: 140px;">
|
<div class="fileinput-new thumbnail rounded thumb-128-wrapper" style="width: 140px; height: 140px;">
|
||||||
<img src="<%= image_pack_path("no_avatar.png") %>" class="img-circle">
|
<img src="no_avatar.png" class="img-circle">
|
||||||
</div>
|
</div>
|
||||||
<div class="fileinput-preview fileinput-exists thumbnail rounded thumb-128-wrapper" data-trigger="fileinput" style="width: 140px; height: 140px; line-height: 140px;">
|
<div class="fileinput-preview fileinput-exists thumbnail rounded thumb-128-wrapper" data-trigger="fileinput" style="width: 140px; height: 140px; line-height: 140px;">
|
||||||
<img ng-src="{{ user.profile.user_avatar.attachment_url }}" />
|
<img ng-src="{{ user.profile.user_avatar.attachment_url }}" />
|
||||||
@ -453,7 +453,7 @@
|
|||||||
|
|
||||||
<div class="form-group" ng-show="social.dailymotion || user.profile.dailymotion" ng-class="{'has-error': userForm['user[profile_attributes][dailymotion]'].$dirty && userForm['user[profile_attributes][dailymotion]'].$invalid}">
|
<div class="form-group" ng-show="social.dailymotion || user.profile.dailymotion" ng-class="{'has-error': userForm['user[profile_attributes][dailymotion]'].$dirty && userForm['user[profile_attributes][dailymotion]'].$invalid}">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<span class="input-group-addon help-cursor" title="{{ 'app.shared.user.used_for_profile' | translate }}"><img src="<%= asset_pack_path('social/dailymotion.png') %>" alt="d" class="fa-img"/></span>
|
<span class="input-group-addon help-cursor" title="{{ 'app.shared.user.used_for_profile' | translate }}"><img src="social/dailymotion.png" alt="d" class="fa-img"/></span>
|
||||||
<input type="text"
|
<input type="text"
|
||||||
name="user[profile_attributes][dailymotion]"
|
name="user[profile_attributes][dailymotion]"
|
||||||
ng-model="user.profile.dailymotion"
|
ng-model="user.profile.dailymotion"
|
||||||
@ -484,7 +484,7 @@
|
|||||||
|
|
||||||
<div class="form-group" ng-show="social.echosciences || user.profile.echosciences" ng-class="{'has-error': userForm['user[profile_attributes][echosciences]'].$dirty && userForm['user[profile_attributes][echosciences]'].$invalid}">
|
<div class="form-group" ng-show="social.echosciences || user.profile.echosciences" ng-class="{'has-error': userForm['user[profile_attributes][echosciences]'].$dirty && userForm['user[profile_attributes][echosciences]'].$invalid}">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<span class="input-group-addon help-cursor" title="{{ 'app.shared.user.used_for_profile' | translate }}"><img src="<%= asset_pack_path('social/echosciences.png') %>" alt="d" class="fa-img"/></span>
|
<span class="input-group-addon help-cursor" title="{{ 'app.shared.user.used_for_profile' | translate }}"><img src="social/echosciences.png" alt="d" class="fa-img"/></span>
|
||||||
<input type="text"
|
<input type="text"
|
||||||
name="user[profile_attributes][echosciences]"
|
name="user[profile_attributes][echosciences]"
|
||||||
ng-model="user.profile.echosciences"
|
ng-model="user.profile.echosciences"
|
||||||
@ -551,9 +551,9 @@
|
|||||||
<div ng-click="social.instagram = !social.instagram" ng-hide="social.instagram || user.profile.instagram"><i class="fa fa-instagram fa-2x"></i></div>
|
<div ng-click="social.instagram = !social.instagram" ng-hide="social.instagram || user.profile.instagram"><i class="fa fa-instagram fa-2x"></i></div>
|
||||||
<div ng-click="social.youtube = !social.youtube" ng-hide="social.youtube || user.profile.youtube"><i class="fa fa-youtube fa-2x"></i></div>
|
<div ng-click="social.youtube = !social.youtube" ng-hide="social.youtube || user.profile.youtube"><i class="fa fa-youtube fa-2x"></i></div>
|
||||||
<div ng-click="social.vimeo = !social.vimeo" ng-hide="social.vimeo || user.profile.vimeo"><i class="fa fa-vimeo fa-2x"></i></div>
|
<div ng-click="social.vimeo = !social.vimeo" ng-hide="social.vimeo || user.profile.vimeo"><i class="fa fa-vimeo fa-2x"></i></div>
|
||||||
<div ng-click="social.dailymotion = !social.dailymotion" ng-hide="social.dailymotion || user.profile.dailymotion"><img src="<%= asset_pack_path('social/dailymotion.png') %>" alt="d" class="fa-img contrast-250 fa-2x"/></div>
|
<div ng-click="social.dailymotion = !social.dailymotion" ng-hide="social.dailymotion || user.profile.dailymotion"><img src="social/dailymotion.png" alt="d" class="fa-img contrast-250 fa-2x"/></div>
|
||||||
<div ng-click="social.github = !social.github" ng-hide="social.github || user.profile.github"><i class="fa fa-github fa-2x"></i></div>
|
<div ng-click="social.github = !social.github" ng-hide="social.github || user.profile.github"><i class="fa fa-github fa-2x"></i></div>
|
||||||
<div ng-click="social.echosciences = !social.echosciences" ng-hide="social.echosciences || user.profile.echosciences"><img src="<%= asset_pack_path('social/echosciences.png') %>" alt="E" class="fa-img contrast-250 fa-2x"/></div>
|
<div ng-click="social.echosciences = !social.echosciences" ng-hide="social.echosciences || user.profile.echosciences"><img src="social/echosciences.png" alt="E" class="fa-img contrast-250 fa-2x"/></div>
|
||||||
<div ng-click="social.pinterest = !social.pinterest" ng-hide="social.pinterest || user.profile.pinterest"><i class="fa fa-pinterest fa-2x"></i></div>
|
<div ng-click="social.pinterest = !social.pinterest" ng-hide="social.pinterest || user.profile.pinterest"><i class="fa fa-pinterest fa-2x"></i></div>
|
||||||
<div ng-click="social.lastfm = !social.lastfm" ng-hide="social.lastfm || user.profile.lastfm"><i class="fa fa-lastfm fa-2x"></i></div>
|
<div ng-click="social.lastfm = !social.lastfm" ng-hide="social.lastfm || user.profile.lastfm"><i class="fa fa-lastfm fa-2x"></i></div>
|
||||||
<div ng-click="social.flickr = !social.flickr" ng-hide="social.flickr || user.profile.flickr"><i class="fa fa-flickr fa-2x"></i></div>
|
<div ng-click="social.flickr = !social.flickr" ng-hide="social.flickr || user.profile.flickr"><i class="fa fa-flickr fa-2x"></i></div>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<img ng-src="<%= image_pack_path("no_avatar.png") %>" class="img-circle" ng-class="avatarClass"
|
<img ng-src="no_avatar.png" class="img-circle" ng-class="avatarClass"
|
||||||
ng-if="!userAvatar || !userAvatar.attachment_url">
|
ng-if="!userAvatar || !userAvatar.attachment_url">
|
||||||
<img ng-src="{{userAvatar.attachment_url}}" class="img-circle" ng-class="avatarClass"
|
<img ng-src="{{userAvatar.attachment_url}}" class="img-circle" ng-class="avatarClass"
|
||||||
ng-if="userAvatar.attachment_url">
|
ng-if="userAvatar.attachment_url">
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<uib-alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">{{alert.msg}}</uib-alert>
|
<uib-alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">{{alert.msg}}</uib-alert>
|
||||||
<ng-include src="'<%= asset_pack_path "shared/_wallet_amount_info.html" %>'"></ng-include>
|
<ng-include src="'shared/_wallet_amount_info.html'"></ng-include>
|
||||||
|
|
||||||
<p translate>{{ 'app.shared.valid_reservation_modal.here_is_the_summary_of_the_slots_to_book_for_the_current_user' }}</p>
|
<p translate>{{ 'app.shared.valid_reservation_modal.here_is_the_summary_of_the_slots_to_book_for_the_current_user' }}</p>
|
||||||
<ul ng-repeat="slot in reservation.slots_attributes">
|
<ul ng-repeat="slot in reservation.slots_attributes">
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
<section class="panel panel-default bg-light m-lg">
|
<section class="panel panel-default bg-light m-lg">
|
||||||
<div class="panel-body m-r">
|
<div class="panel-body m-r">
|
||||||
<ng-include src="'<%= asset_pack_path "spaces/_form.html" %>'"></ng-include>
|
<ng-include src="'spaces/_form.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="panel-footer no-padder">
|
<div class="panel-footer no-padder">
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
<section class="m-lg spaces-list"
|
<section class="m-lg spaces-list"
|
||||||
ui-tour="spaces"
|
ui-tour="spaces"
|
||||||
ui-tour-backdrop="true"
|
ui-tour-backdrop="true"
|
||||||
ui-tour-template-url="'<%= asset_pack_path "shared/tour-step-template.html" %>'"
|
ui-tour-template-url="'shared/tour-step-template.html'"
|
||||||
ui-tour-use-hotkeys="true"
|
ui-tour-use-hotkeys="true"
|
||||||
ui-tour-scroll-parent-id="content-main"
|
ui-tour-scroll-parent-id="content-main"
|
||||||
post-render="setupSpacesTour">
|
post-render="setupSpacesTour">
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
<section class="panel panel-default bg-light m-lg">
|
<section class="panel panel-default bg-light m-lg">
|
||||||
<div class="panel-body m-r">
|
<div class="panel-body m-r">
|
||||||
<ng-include src="'<%= asset_pack_path 'spaces/_form.html' %>'"></ng-include>
|
<ng-include src="'spaces/_form.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="panel-footer no-padder">
|
<div class="panel-footer no-padder">
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<div class="row no-gutter training-reserve">
|
<div class="row no-gutter training-reserve">
|
||||||
<div class="col-sm-12 col-md-12 col-lg-9">
|
<div class="col-sm-12 col-md-12 col-lg-9">
|
||||||
<div ui-calendar="calendarConfig" ng-model="eventSources" calendar="calendar" class="wrapper-lg" ng-show="!plansAreShown"></div>
|
<div ui-calendar="calendarConfig" ng-model="eventSources" calendar="calendar" class="wrapper-lg" ng-show="!plansAreShown"></div>
|
||||||
<ng-include ng-if="modules.plans" src="'<%= asset_pack_path "plans/_plan.html" %>'"></ng-include>
|
<ng-include ng-if="modules.plans" src="'plans/_plan.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -40,9 +40,9 @@
|
|||||||
|
|
||||||
<div class="modal-footer text-center">
|
<div class="modal-footer text-center">
|
||||||
<i class="fa fa-lock fa-2x m-r-sm pos-rlt" style="top:7px; color:#9edd78;"></i>
|
<i class="fa fa-lock fa-2x m-r-sm pos-rlt" style="top:7px; color:#9edd78;"></i>
|
||||||
<%= image_pack_tag("powered_by_stripe.png", class: 'm-r-sm') %>
|
<img src="powered_by_stripe.png" class="m-r-sm" />
|
||||||
<%= image_pack_tag("mastercard.png", class: 'm-r-sm') %>
|
<img src="mastercard.png" class="m-r-sm" />
|
||||||
<%= image_pack_tag("visa.png", class: 'm-r-sm') %>
|
<img src="visa.png" class="m-r-sm" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
<div class="row no-gutter training-reserve">
|
<div class="row no-gutter training-reserve">
|
||||||
<div class="col-sm-12 col-md-12 col-lg-9">
|
<div class="col-sm-12 col-md-12 col-lg-9">
|
||||||
<div ui-calendar="calendarConfig" ng-model="eventSources" calendar="calendar" class="wrapper-lg" ng-show="!plansAreShown"></div>
|
<div ui-calendar="calendarConfig" ng-model="eventSources" calendar="calendar" class="wrapper-lg" ng-show="!plansAreShown"></div>
|
||||||
<ng-include ng-if="modules.plans" src="'<%= asset_pack_path "plans/_plan.html" %>'"></ng-include>
|
<ng-include ng-if="modules.plans" src="'plans/_plan.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -123,10 +123,10 @@
|
|||||||
<%= javascript_packs_with_chunks_tag 'application' %>
|
<%= javascript_packs_with_chunks_tag 'application' %>
|
||||||
|
|
||||||
<!-- i18n of external libraries -->
|
<!-- i18n of external libraries -->
|
||||||
<script type="text/javascript" src="<%= asset_pack_path "angular-i18n/angular-locale_#{Rails.application.secrets.angular_locale}.js" %>"></script>
|
<script type="text/javascript" src="angular-i18n/angular-locale_#{Rails.application.secrets.angular_locale}.js"></script>
|
||||||
<!-- if required locale does not exist, use the default "en" -->
|
<!-- if required locale does not exist, use the default "en" -->
|
||||||
<% if asset_available?("moment/locale/#{Rails.application.secrets.moment_locale}.js") %>
|
<% if asset_available?("moment/locale/#{Rails.application.secrets.moment_locale}.js") %>
|
||||||
<script type="text/javascript" src="<%= asset_pack_path "moment/locale/#{Rails.application.secrets.moment_locale}.js" %>"></script>
|
<script type="text/javascript" src="moment/locale/#{Rails.application.secrets.moment_locale}.js"></script>
|
||||||
<%
|
<%
|
||||||
elsif Rails.application.secrets.moment_locale != 'en'
|
elsif Rails.application.secrets.moment_locale != 'en'
|
||||||
raise LoadError, "moment/locale/#{Rails.application.secrets.moment_locale}.js does not exists"
|
raise LoadError, "moment/locale/#{Rails.application.secrets.moment_locale}.js does not exists"
|
||||||
@ -134,7 +134,7 @@
|
|||||||
%>
|
%>
|
||||||
<!-- if required locale does not exist, use the default "en-US" -->
|
<!-- if required locale does not exist, use the default "en-US" -->
|
||||||
<% if asset_available?("summernote/lang/summernote-#{Rails.application.secrets.summernote_locale}.js") %>
|
<% if asset_available?("summernote/lang/summernote-#{Rails.application.secrets.summernote_locale}.js") %>
|
||||||
<script type="text/javascript" src="<%= asset_pack_path "summernote/lang/summernote-#{Rails.application.secrets.summernote_locale}.js" %>"></script>
|
<script type="text/javascript" src="summernote/lang/summernote-#{Rails.application.secrets.summernote_locale}.js"></script>
|
||||||
<%
|
<%
|
||||||
elsif Rails.application.secrets.summernote_locale != 'en-US'
|
elsif Rails.application.secrets.summernote_locale != 'en-US'
|
||||||
raise LoadError, "summernote/lang/summernote-#{Rails.application.secrets.summernote_locale}.js does not exists"
|
raise LoadError, "summernote/lang/summernote-#{Rails.application.secrets.summernote_locale}.js does not exists"
|
||||||
@ -142,7 +142,7 @@
|
|||||||
%>
|
%>
|
||||||
<!-- if required locale does not exist, use the default "en" -->
|
<!-- if required locale does not exist, use the default "en" -->
|
||||||
<% if asset_available?("fullcalendar/dist/lang/#{Rails.application.secrets.fullcalendar_locale}.js") %>
|
<% if asset_available?("fullcalendar/dist/lang/#{Rails.application.secrets.fullcalendar_locale}.js") %>
|
||||||
<script type="text/javascript" src="<%= asset_pack_path "fullcalendar/dist/lang/#{Rails.application.secrets.fullcalendar_locale}.js" %>"></script>
|
<script type="text/javascript" src="fullcalendar/dist/lang/#{Rails.application.secrets.fullcalendar_locale}.js"></script>
|
||||||
<%
|
<%
|
||||||
elsif Rails.application.secrets.fullcalendar_locale != 'en'
|
elsif Rails.application.secrets.fullcalendar_locale != 'en'
|
||||||
raise LoadError, "fullcalendar/dist/lang/#{Rails.application.secrets.fullcalendar_locale}.js does not exists"
|
raise LoadError, "fullcalendar/dist/lang/#{Rails.application.secrets.fullcalendar_locale}.js does not exists"
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
const { environment } = require('@rails/webpacker');
|
const { environment } = require('@rails/webpacker');
|
||||||
const erb = require('./loaders/erb');
|
const htmlErb = require('./loaders/html_erb');
|
||||||
|
const jsErb = require('./loaders/js_erb');
|
||||||
const html = require('./loaders/html');
|
const html = require('./loaders/html');
|
||||||
const webpack = require('webpack');
|
const webpack = require('webpack');
|
||||||
|
|
||||||
@ -8,8 +9,10 @@ environment.plugins.prepend('Provide', new webpack.ProvidePlugin({
|
|||||||
jQuery: 'jquery'
|
jQuery: 'jquery'
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
environment.loaders.prepend('js.erb', jsErb);
|
||||||
|
environment.loaders.prepend('html.erb', htmlErb);
|
||||||
environment.loaders.append('html', html);
|
environment.loaders.append('html', html);
|
||||||
environment.loaders.prepend('erb', erb);
|
|
||||||
environment.splitChunks();
|
environment.splitChunks();
|
||||||
|
|
||||||
module.exports = environment;
|
module.exports = environment;
|
||||||
|
@ -1,13 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
test: /\.html(\.erb)?$/,
|
test: /\.html$/i,
|
||||||
use: [{
|
loader: 'html-loader'
|
||||||
loader: 'html-loader',
|
|
||||||
options: {
|
|
||||||
minimize: true,
|
|
||||||
removeAttributeQuotes: false,
|
|
||||||
caseSensitive: true,
|
|
||||||
customAttrSurround: [[/#/, /(?:)/], [/\*/, /(?:)/], [/\[?\(?/, /(?:)/]],
|
|
||||||
customAttrAssign: [/\)?\]?=/]
|
|
||||||
}
|
|
||||||
}]
|
|
||||||
};
|
};
|
||||||
|
7
config/webpack/loaders/html_erb.js
Normal file
7
config/webpack/loaders/html_erb.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
module.exports = {
|
||||||
|
test: /\.html\.erb$/,
|
||||||
|
loader: [
|
||||||
|
'rails-erb-loader',
|
||||||
|
'html-loader'
|
||||||
|
]
|
||||||
|
};
|
Loading…
x
Reference in New Issue
Block a user