nodebb-plugin-sso-biogrenci 2.0.5 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-sso-biogrenci",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "bi'öğrenci öğrenci fırsatları sayfası for NodeBB",
5
5
  "main": "library.js",
6
6
  "keywords": [
@@ -10,7 +10,13 @@ define('admin/plugins/biogrenci', ['settings'], function (Settings) {
10
10
 
11
11
  $('#save').on('click', function () {
12
12
  settings.persist(function () {
13
- app.alertSuccess('Ayarlar kaydedildi.');
13
+ app.alert({
14
+ type: 'success',
15
+ alert_id: 'biogrenci-settings-saved',
16
+ title: 'Ayarlar Kaydedildi',
17
+ message: 'bi\'öğrenci ayarları başarıyla kaydedildi.',
18
+ timeout: 2500,
19
+ });
14
20
  });
15
21
  });
16
22
  };
@@ -11,11 +11,11 @@
11
11
  <form id="biogrenci-settings">
12
12
  <div class="form-group">
13
13
  <label for="clientId">Client ID</label>
14
- <input type="text" id="clientId" name="clientId" class="form-control" placeholder="Partner Client ID">
14
+ <input type="text" id="clientId" name="clientId" data-key="clientId" class="form-control" placeholder="Partner Client ID">
15
15
  </div>
16
16
  <div class="form-group">
17
17
  <label for="clientSecret">Client Secret</label>
18
- <input type="password" id="clientSecret" name="clientSecret" class="form-control" placeholder="Partner Client Secret">
18
+ <input type="password" id="clientSecret" name="clientSecret" data-key="clientSecret" class="form-control" placeholder="Partner Client Secret">
19
19
  </div>
20
20
  </form>
21
21
  </div>