Skip to content

Commit

Permalink
The modal support service window has been removed in favor of creatin…
Browse files Browse the repository at this point in the history
…g custom forms, since the set of fields and the template could not be changed
  • Loading branch information
tabuna committed Dec 22, 2018
1 parent cacd85a commit b81df48
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 178 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [3.2.0] - 2018-12-22

### Removed
- The modal support service window has been removed in favor of creating custom forms, since the set of fields and the template could not be changed

## [3.1.8] - 2018-12-22

### Added
Expand Down
11 changes: 0 additions & 11 deletions config/platform.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,4 @@
'footer' => 'platform::layouts.footer',
],

/*
|--------------------------------------------------------------------------
| Support Email
|--------------------------------------------------------------------------
|
| The address where customer support e-mails should be sent.
|
| Example: support@example.com
*/

'support' => env('DASHBOARD_SUPPORT'),
];
4 changes: 0 additions & 4 deletions resources/lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@
"Marketing medium: (e.g. cpc, ppc, banner, email)": "Маркетинговая среда: (например, КТК, КПП, баннер, электронная почта)",
"Media": "Медиа",
"Menu": "Меню",
"Message": "Сообщение",
"Model Generator": "Модель генератора",
"Model name:": "Название модели:",
"Model builder": "Строитель моделей",
Expand All @@ -145,7 +144,6 @@
"Modified": "Изменен",
"Name": "Название",
"Name role": "Имя роли",
"Need help?": "Нужна помощь?",
"No notifications": "Никаких уведомлений",
"Notifications": "Уведомления",
"Only identified users": "Только идентифицированным пользователям",
Expand Down Expand Up @@ -194,8 +192,6 @@
"Slug": "Уникальный пользовательский URL",
"Sort entries into groups of posts on a given topic. This helps the user to find the necessary information on the site.": "Сортировка записей в группы сообщений по заданной теме. Это помогает пользователю найти необходимую информацию на сайте.",
"Status": "Статус",
"Support": "Поддержка",
"Support Message from": "Сообщение поддержки от",
"System name": "Системное имя",
"Systems": "Система",
"System settings": "Параметры системы",
Expand Down
4 changes: 0 additions & 4 deletions resources/lang/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@
"Marketing medium: (e.g. cpc, ppc, banner, email)": "Канал трафіку: (cpc, ppc, banner, email)",
"Media": "Медіа",
"Menu": "Меню",
"Message": "Повідомлення",
"Model Generator": "Генератор моделей",
"Model name:": "Назва моделі",
"Model builder": "Генератор моделей",
Expand All @@ -145,7 +144,6 @@
"Modified": "Змінено",
"Name": "Назва",
"Name role": "Роль",
"Need help?": "Потрібна допомога?",
"No notifications": "Немає сповіщень",
"Notifications": "Сповіщення",
"Oh snap!": "От біда!",
Expand Down Expand Up @@ -196,8 +194,6 @@
"Slug": "Slug",
"Sort entries into groups of posts on a given topic. This helps the user to find the necessary information on the site.": "Сортування записів у групи повідомлень на певну тему. Це допомагає користувачеві знайти потрібну інформацію на сайті.",
"Status": "Статус",
"Support": "Підтримка",
"Support Message from": "Повідомлення системи підтримки від",
"System name": "Ім'я у системі",
"Systems": "Системи",
"System settings": "Параметри системи",
Expand Down
5 changes: 0 additions & 5 deletions resources/views/emails/support.blade.php

This file was deleted.

6 changes: 0 additions & 6 deletions resources/views/partials/profile.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@
<div class="dropdown-divider"></div>
@endif

@if(!is_null(config('platform.support')))
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#support">
<i class="m-r-xs icon-help"></i> {{ __('Need help?') }}
</a>
@endif

@if(Auth::user()->hasAccess('platform.systems.index'))
<a href="{{ route('platform.systems.index') }}" class="dropdown-item">
<i class="icon-settings m-r-xs" aria-hidden="true"></i>
Expand Down
55 changes: 0 additions & 55 deletions resources/views/partials/support.blade.php

This file was deleted.

10 changes: 5 additions & 5 deletions routes/press.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

declare(strict_types=1);

use Orchid\Press\Http\Controllers\MenuController;
use Orchid\Press\Http\Controllers\PageController;
use Orchid\Press\Http\Controllers\PostController;
use Orchid\Press\Http\Controllers\MediaController;

/*
|--------------------------------------------------------------------------
| Press Web Routes
Expand All @@ -11,11 +16,6 @@
|
*/

use Orchid\Press\Http\Controllers\MenuController;
use Orchid\Press\Http\Controllers\PageController;
use Orchid\Press\Http\Controllers\PostController;
use Orchid\Press\Http\Controllers\MediaController;

$this->post('posts/restore/{id?}', [PostController::class, 'restore'])
->name('platform.posts.restore');

Expand Down
20 changes: 8 additions & 12 deletions routes/systems.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

declare(strict_types=1);

use Orchid\Platform\Http\Controllers\Systems\TagsController;
use Orchid\Platform\Http\Controllers\Systems\CacheController;
use Orchid\Platform\Http\Controllers\Systems\SystemController;
use Orchid\Platform\Http\Controllers\Systems\WidgetController;
use Orchid\Platform\Http\Controllers\Systems\AttachmentController;
use Orchid\Platform\Http\Controllers\Systems\NotificationController;

/*
|--------------------------------------------------------------------------
| Systems Web Routes
Expand All @@ -11,14 +18,6 @@
|
*/

use Orchid\Platform\Http\Controllers\Systems\TagsController;
use Orchid\Platform\Http\Controllers\Systems\CacheController;
use Orchid\Platform\Http\Controllers\Systems\SystemController;
use Orchid\Platform\Http\Controllers\Systems\WidgetController;
use Orchid\Platform\Http\Controllers\Systems\SupportController;
use Orchid\Platform\Http\Controllers\Systems\AttachmentController;
use Orchid\Platform\Http\Controllers\Systems\NotificationController;

$this->get('/', [SystemController::class, 'index'])
->name('platform.systems.index');

Expand Down Expand Up @@ -53,7 +52,4 @@
->name('platform.systems.tag.search');

$this->post('widget/{widget}/{key?}', [WidgetController::class, 'index'])
->name('platform.systems.widget');

$this->post('support', [SupportController::class, 'send'])
->name('platform.systems.support');
->name('platform.systems.widget');
2 changes: 1 addition & 1 deletion src/Platform/Dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Dashboard
/**
* ORCHID Version.
*/
public const VERSION = '3.1.8';
public const VERSION = '3.2.0';

/**
* The Dashboard configuration options.
Expand Down
28 changes: 0 additions & 28 deletions src/Platform/Http/Controllers/Systems/SupportController.php

This file was deleted.

47 changes: 0 additions & 47 deletions src/Platform/Mail/SupportMail.php

This file was deleted.

0 comments on commit b81df48

Please sign in to comment.