Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wizard. restore import and export in CSV #191

Merged
merged 2 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion wizard/app/scripts/i18n/locale-en.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,8 @@
"upload_invalid_filename": "The file name is not valid. It can only contain letters, numbers and the symbols _ - . ( ) ",
"Spy":"Listen",
"Link to portal text": "For user management (creation, update and deletion), use the dedicated portal",
"Link to portal": "Link to the Portal"
"Link to portal": "Link to the Portal",
"Off Hour": "Phones lines",
"Admin Off Hour": "Admin phone lines",
"Advanced Off Hour": "Advanced phone lines"
}
6 changes: 3 additions & 3 deletions wizard/app/scripts/i18n/locale-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
"Customerd Card": "Schede cliente",
"Presence Panel": "Pannello presenza",
"Use queue agent panel": "Pannello agente di coda",
"Off Hour": "Fuori orario",
"Off Hour": "Linee telefoniche",
"Remote Sites": "Sedi remote",
"Call Waiting": "Avviso di chiamata",
"DND": "DND",
Expand All @@ -260,7 +260,7 @@
"PBX lines": "Linee centralino",
"Advanced queue agent panel": "Pannello agente di coda avanzato",
"Lost Queue Calls": "Chiamate non gestite",
"Advanced Off Hour": "Fuori orario avanzato",
"Advanced Off Hour": "Linee telefoniche avanzato",
"General and notifications settings": "Impostazioni generali di notifica",
"View Phonebook, add contacts, modify and delete own contacts": "Visualizza Rubrica, aggiungi contatti, modifica ed elimina i contatti propri",
"View own call history": "Visualizza il proprio storico chiamate",
Expand Down Expand Up @@ -1007,7 +1007,7 @@
"Allow to start a video conference": "Consente l'inizio di una videoconferenza",
"Allow to change user's incoming call path and generic inbound routes": "Consente di modificare il percorso della chiamata in entrata dell'utente e delle rotte in entrata generiche",
"Streaming": "Sorgenti Video",
"Admin Off Hour": "Fuori Orario Completo",
"Admin Off Hour": "Linee telefoniche completo",
"Allow to change all incoming call paths": "Consente la modifica di tutti i percorsi delle chiamate in arrivo",
"Operator Panel": "Posto Operatore",
"Manage Queue": "Gestione Coda",
Expand Down
9 changes: 4 additions & 5 deletions wizard/app/views/extensions.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ <h1 class="control-label centered" for="textInput-markup">{{'Extensions Configur
</div>

</form>
<!-- <div class="form-group config-row-button">
<div class="form-group config-row-button">
<button ng-if="providerLocal" ng-click="fileSelectImport()" class="btn btn-primary btn-lg no-margin">{{'Import' | translate}}</button>
<button ng-click="csvExport()" class="btn btn-primary btn-lg no-margin">{{'Export' | translate}}</button>
<input ng-model="temp.importFile" type="file" accept=".csv" id="importInput">
<a id="dlLink" download="users.csv" href="" class="hidden"></a>
</div> -->
</div>
<div class="list-group list-view-pf list-view-pf-view adjust-margin-extensions margin-bottom-lg">
<div ng-show="selectedUsersFilter == 'configured' ? user.default_extension !== 'none' : (selectedUsersFilter == 'unconfigured' ? user.default_extension == 'none' : true)"
class="list-group-item" ng-repeat="user in users | customFilterMultiple:'displayname,username,default_extension':searchUsersString | limitTo: usersLimit | orderBy:usersFilterNumbers:usersFilterNumbersOrd">
Expand Down Expand Up @@ -106,11 +106,10 @@ <h1>
<p ng-if="!mode.isLdap">
{{'Check your LDAP or Active Directory settings' | translate}}
</p>
<!-- <div ng-if="providerLocal" class="blank-slate-pf-main-action">
<button data-toggle="modal" data-target="#createUser" class="btn btn-primary btn-lg">{{'Create user' | translate}}</button>
<div ng-if="providerLocal" class="blank-slate-pf-main-action">
<button ng-click="fileSelectImport()" class="btn btn-primary btn-lg no-margin">{{'Import' | translate}}</button>
<input ng-model="temp.importFile" type="file" accept=".csv" id="importInput">
</div> -->
</div>
</div>
</div>
<wizard-step ng-if="wizard.isWizard" id="wizardStepBase"></wizard-step>
Expand Down
Loading