mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-19 13:54:25 +01:00
rename section project_elements to projects
This commit is contained in:
parent
cc3ed864d0
commit
59cb17789c
@ -156,18 +156,18 @@ Application.Controllers.controller('ProjectElementsController', ['$scope', '$sta
|
||||
};
|
||||
|
||||
/**
|
||||
* Setup the feature-tour for the admin/project_elements page.
|
||||
* Setup the feature-tour for the admin/projects page.
|
||||
* This is intended as a contextual help (when pressing F1)
|
||||
*/
|
||||
$scope.setupProjectElementsTour = function () {
|
||||
// get the tour defined by the ui-tour directive
|
||||
const uitour = uiTourService.getTourByName('project-elements');
|
||||
const uitour = uiTourService.getTourByName('projects');
|
||||
uitour.createStep({
|
||||
selector: 'body',
|
||||
stepId: 'welcome',
|
||||
order: 0,
|
||||
title: _t('app.admin.tour.project_elements.welcome.title'),
|
||||
content: _t('app.admin.tour.project_elements.welcome.content'),
|
||||
title: _t('app.admin.tour.projects.welcome.title'),
|
||||
content: _t('app.admin.tour.projects.welcome.content'),
|
||||
placement: 'bottom',
|
||||
orphan: true
|
||||
});
|
||||
@ -175,8 +175,8 @@ Application.Controllers.controller('ProjectElementsController', ['$scope', '$sta
|
||||
selector: '.heading .abuses-button',
|
||||
stepId: 'abuses',
|
||||
order: 1,
|
||||
title: _t('app.admin.tour.project_elements.abuses.title'),
|
||||
content: _t('app.admin.tour.project_elements.abuses.content'),
|
||||
title: _t('app.admin.tour.projects.abuses.title'),
|
||||
content: _t('app.admin.tour.projects.abuses.content'),
|
||||
placement: 'bottom',
|
||||
popupClass: 'shift-left-40'
|
||||
});
|
||||
@ -191,14 +191,14 @@ Application.Controllers.controller('ProjectElementsController', ['$scope', '$sta
|
||||
});
|
||||
// on tour end, save the status in database
|
||||
uitour.on('ended', function () {
|
||||
if (uitour.getStatus() === uitour.Status.ON && $scope.currentUser.profile.tours.indexOf('project-elements') < 0) {
|
||||
Member.completeTour({ id: $scope.currentUser.id }, { tour: 'project-elements' }, function (res) {
|
||||
if (uitour.getStatus() === uitour.Status.ON && $scope.currentUser.profile.tours.indexOf('projects') < 0) {
|
||||
Member.completeTour({ id: $scope.currentUser.id }, { tour: 'projects' }, function (res) {
|
||||
$scope.currentUser.profile.tours = res.tours;
|
||||
});
|
||||
}
|
||||
});
|
||||
// if the user has never seen the tour, show him now
|
||||
if (settingsPromise.feature_tour_display !== 'manual' && $scope.currentUser.profile.tours.indexOf('project-elements') < 0) {
|
||||
if (settingsPromise.feature_tour_display !== 'manual' && $scope.currentUser.profile.tours.indexOf('projects') < 0) {
|
||||
uitour.start();
|
||||
}
|
||||
};
|
||||
|
@ -138,8 +138,8 @@ Application.Controllers.controller('MainNavController', ['$scope', function ($sc
|
||||
authorizedRoles: ['admin']
|
||||
},
|
||||
{
|
||||
state: 'app.admin.project_elements',
|
||||
linkText: 'app.public.common.manage_the_projects_elements',
|
||||
state: 'app.admin.projects',
|
||||
linkText: 'app.public.common.projects',
|
||||
linkIcon: 'tasks',
|
||||
authorizedRoles: ['admin']
|
||||
},
|
||||
|
@ -614,11 +614,11 @@ angular.module('application.router', ['ui.router'])
|
||||
})
|
||||
|
||||
// project's elements
|
||||
.state('app.admin.project_elements', {
|
||||
url: '/admin/project_elements',
|
||||
.state('app.admin.projects', {
|
||||
url: '/admin/projects',
|
||||
views: {
|
||||
'main@': {
|
||||
templateUrl: '<%= asset_path "admin/project_elements/index.html.erb" %>',
|
||||
templateUrl: '<%= asset_path "admin/projects/index.html.erb" %>',
|
||||
controller: 'ProjectElementsController'
|
||||
}
|
||||
},
|
||||
|
@ -12,7 +12,7 @@ Application.Services.factory('Help', ['$rootScope', '$uibModal', '$state', 'Auth
|
||||
'app.admin.invoices': 'invoices',
|
||||
'app.admin.pricing': 'pricing',
|
||||
'app.admin.events': 'events',
|
||||
'app.admin.project_elements': 'project-elements',
|
||||
'app.admin.projects': 'projects',
|
||||
'app.admin.statistics': 'statistics',
|
||||
'app.admin.settings': 'settings',
|
||||
'app.admin.open_api_clients': 'open-api'
|
||||
|
@ -31,13 +31,13 @@
|
||||
<div class="col-md-12">
|
||||
<uib-tabset justified="true">
|
||||
<uib-tab heading="{{ 'app.admin.projects.materials' | translate }}">
|
||||
<ng-include src="'<%= asset_path "admin/project_elements/materials.html" %>'"></ng-include>
|
||||
<ng-include src="'<%= asset_path "admin/projects/materials.html" %>'"></ng-include>
|
||||
</uib-tab>
|
||||
<uib-tab heading="{{ 'app.admin.projects.themes' | translate }}">
|
||||
<ng-include src="'<%= asset_path "admin/project_elements/themes.html" %>'"></ng-include>
|
||||
<ng-include src="'<%= asset_path "admin/projects/themes.html" %>'"></ng-include>
|
||||
</uib-tab>
|
||||
<uib-tab heading="{{ 'app.admin.projects.licences' | translate }}">
|
||||
<ng-include src="'<%= asset_path "admin/project_elements/licences.html" %>'"></ng-include>
|
||||
<ng-include src="'<%= asset_path "admin/projects/licences.html" %>'"></ng-include>
|
||||
</uib-tab>
|
||||
</uib-tabset>
|
||||
</div>
|
||||
|
@ -126,10 +126,10 @@ en:
|
||||
confirmation_required: "Confirmation required"
|
||||
confirm_delete_import: "Do you really want to delete this iCalendar import?"
|
||||
delete_success: "iCalendar import successfully deleted"
|
||||
#management of the projects' components
|
||||
project_elements:
|
||||
#management of the projects' components & settings
|
||||
projects:
|
||||
name: "Name"
|
||||
projects_elements_management: "Projects elements management"
|
||||
projects_settings: "Projects settings"
|
||||
materials: "Materials"
|
||||
add_a_material: "Add a material"
|
||||
themes: "Themes"
|
||||
@ -1309,10 +1309,10 @@ en:
|
||||
prices:
|
||||
title: "Pricing categories"
|
||||
content: "The price of events does not depend on groups or subscriptions, but on the categories you define on this page."
|
||||
project_elements:
|
||||
projects:
|
||||
welcome:
|
||||
title: "Projects"
|
||||
content: "Here you can define all the elements that will be available for members to document the projects they carry out."
|
||||
content: "Here you can define all the elements that will be available for members to document the projects they carry out. You can also define various parameters related to the projects."
|
||||
abuses:
|
||||
title: "Manage reports"
|
||||
content: "<p>Access here the management of reports.</p><p>Visitors can signal projects, for example for copyright infringement or for hate speech.</p><p>GDPR requires you to delete this reporting data once the required actions have been taken.</p>"
|
||||
|
@ -127,7 +127,7 @@ es:
|
||||
confirm_delete_import: "Do you really want to delete this iCalendar import?"
|
||||
delete_success: "iCalendar import successfully deleted"
|
||||
#management of the projects' components
|
||||
project_elements:
|
||||
projects:
|
||||
name: "Name"
|
||||
projects_elements_management: "Gestión de elementos de proyectos"
|
||||
materials: "Materials"
|
||||
@ -1238,7 +1238,7 @@ es:
|
||||
prices:
|
||||
title: "Pricing categories"
|
||||
content: "The price of events does not depend on groups or subscriptions, but on the categories you define on this page."
|
||||
project_elements:
|
||||
projects:
|
||||
welcome:
|
||||
title: "Projects"
|
||||
content: "Here you can define all the elements that will be available for members to document the projects they carry out."
|
||||
|
@ -127,9 +127,9 @@ fr:
|
||||
confirm_delete_import: "Êtes-vous sur de vouloir supprimer cet import iCalendar ?"
|
||||
delete_success: "L'import iCalendar a bien été supprimé"
|
||||
#management of the projects' components
|
||||
project_elements:
|
||||
projects:
|
||||
name: "Nom"
|
||||
projects_elements_management: "Gestion des éléments projets"
|
||||
projects_settings: "Paramètres des projets"
|
||||
materials: "Matériaux"
|
||||
add_a_material: "Ajouter un matériau"
|
||||
themes: "Thématiques"
|
||||
@ -1309,10 +1309,10 @@ fr:
|
||||
prices:
|
||||
title: "Catégories tarifaires"
|
||||
content: "Le prix des évènements ne dépend pas des groupes ou des abonnements, mais des catégories que vous définissez sur cette page."
|
||||
project_elements:
|
||||
projects:
|
||||
welcome:
|
||||
title: "Projets"
|
||||
content: "Vous pouvez définir ici l'ensemble des éléments qui seront disponibles pour que les membres documentent les projets qu'ils réalisent."
|
||||
content: "Vous pouvez définir ici l'ensemble des éléments qui seront disponibles pour que les membres documentent les projets qu'ils réalisent. Vous pourrez également définir les différents paramètres ayant trait aux projets."
|
||||
abuses:
|
||||
title: "Gérer les signalements"
|
||||
content: "<p>Accédez par ici à la gestion des signalements.</p><p>Des visiteurs peuvent effectuer des signalements sur les projets, par exemple pour une atteinte au droit d'auteur ou pour un texte incitant à la haine.</p><p>La RGPD vous impose de supprimer ces données de signalement une fois que les actions requises ont été effectuées.</p>"
|
||||
|
@ -127,7 +127,7 @@ pt:
|
||||
confirm_delete_import: "Do you really want to delete this iCalendar import?"
|
||||
delete_success: "iCalendar import successfully deleted"
|
||||
#management of the projects' components
|
||||
project_elements:
|
||||
projects:
|
||||
name: "Name"
|
||||
projects_elements_management: "Gerenciar projetos e elementos"
|
||||
materials: "Materials"
|
||||
@ -1238,7 +1238,7 @@ pt:
|
||||
prices:
|
||||
title: "Pricing categories"
|
||||
content: "The price of events does not depend on groups or subscriptions, but on the categories you define on this page."
|
||||
project_elements:
|
||||
projects:
|
||||
welcome:
|
||||
title: "Projects"
|
||||
content: "Here you can define all the elements that will be available for members to document the projects they carry out."
|
||||
|
@ -127,7 +127,7 @@ zu:
|
||||
confirm_delete_import: "crwdns6889:0crwdne6889:0"
|
||||
delete_success: "crwdns6891:0crwdne6891:0"
|
||||
#management of the projects' components
|
||||
project_elements:
|
||||
projects:
|
||||
name: "crwdns6893:0crwdne6893:0"
|
||||
projects_elements_management: "crwdns6895:0crwdne6895:0"
|
||||
materials: "crwdns6897:0crwdne6897:0"
|
||||
@ -1237,7 +1237,7 @@ zu:
|
||||
prices:
|
||||
title: "crwdns20066:0crwdne20066:0"
|
||||
content: "crwdns20068:0crwdne20068:0"
|
||||
project_elements:
|
||||
projects:
|
||||
welcome:
|
||||
title: "crwdns20070:0crwdne20070:0"
|
||||
content: "crwdns20072:0crwdne20072:0"
|
||||
|
@ -49,7 +49,7 @@ en:
|
||||
manage_the_events: "Events"
|
||||
manage_the_machines: "Machines"
|
||||
manage_the_spaces: "Spaces"
|
||||
manage_the_projects_elements: "Projects"
|
||||
projects: "Projects"
|
||||
statistics: "Statistics"
|
||||
customization: "Customization"
|
||||
open_api_clients: "OpenAPI clients"
|
||||
@ -445,4 +445,4 @@ en:
|
||||
content: "To modify or delete a space, click here first. You will not be able to delete a space that has already been associated with availability slots, but you can deactivate it."
|
||||
reserve:
|
||||
title: "Reserve"
|
||||
content: "Click here to access an agenda showing free slots. This will let you book this space for an user and manage existing reservations."
|
||||
content: "Click here to access an agenda showing free slots. This will let you book this space for an user and manage existing reservations."
|
||||
|
@ -49,7 +49,7 @@ es:
|
||||
manage_the_events: "Eventos"
|
||||
manage_the_machines: "Máquinas"
|
||||
manage_the_spaces: "Espacios"
|
||||
manage_the_projects_elements: "Proyectos"
|
||||
projects: "Proyectos"
|
||||
statistics: "Estadísticas"
|
||||
customization: "Customización"
|
||||
open_api_clients: "Clientes OpenAPI"
|
||||
|
@ -49,7 +49,7 @@ fr:
|
||||
manage_the_events: "Évènements"
|
||||
manage_the_machines: "Machines"
|
||||
manage_the_spaces: "Espaces"
|
||||
manage_the_projects_elements: "Projets"
|
||||
projects: "Projets"
|
||||
statistics: "Statistiques"
|
||||
customization: "Personnalisation"
|
||||
open_api_clients: "Clients OpenAPI"
|
||||
|
@ -49,7 +49,7 @@ pt:
|
||||
manage_the_events: "Eventos"
|
||||
manage_the_machines: "Máquinas"
|
||||
manage_the_spaces: "Espaços"
|
||||
manage_the_projects_elements: "Projeto"
|
||||
projects: "Projeto"
|
||||
statistics: "Estatísticas"
|
||||
customization: "Customizações"
|
||||
open_api_clients: "OpenAPI clients"
|
||||
|
Loading…
x
Reference in New Issue
Block a user