Skip to content

Commit

Permalink
Fixtures update. Settings page update
Browse files Browse the repository at this point in the history
  • Loading branch information
andchir committed Nov 18, 2018
1 parent 88df798 commit 0a8cd78
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 6 deletions.
5 changes: 0 additions & 5 deletions frontend/src/app/settings/templates/settings.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ <h3>
<button class="dropdown-item" (click)="clearSystemCache()">{{'CLEAR_SYSTEM_CACHE' | translate}}</button>
</div>
</div>
<a class="btn btn-secondary btn-sm ml-md-2 d-block d-md-inline-block width-100 width-md-auto" href="{{baseUrl}}admin/_console" target="_blank">
<i class="icon-terminal"></i>
&nbsp;
<span>{{'CONSOLE' | translate}}</span>
</a>
</div>

<div class="clearfix"></div>
Expand Down
20 changes: 20 additions & 0 deletions src/App/DataFixtures/MongoDB/en/CatalogFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,26 @@ public function loadContentTypes(ObjectManager $manager) {
'filterOrder' => 5,
'listOrder' => 1
],
[
'title' => 'Vendor code',
'name' => 'vendorCode',
'description' => '',
'inputType' => 'text',
'inputProperties' => [
'value' => '',
'handler' => ''
],
'outputType' => 'text',
'outputProperties' => [
'className' => ''
],
'group' => 'Options',
'required' => false,
'showInTable' => false,
'showInList' => false,
'isFilter' => false,
'filterOrder' => 5
],
[
'title' => 'Parameters',
'name' => 'parameters',
Expand Down
20 changes: 20 additions & 0 deletions src/App/DataFixtures/MongoDB/ru/CatalogFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,26 @@ public function loadContentTypes(ObjectManager $manager) {
'filterOrder' => 5,
'listOrder' => 1
],
[
'title' => 'Артикул',
'name' => 'vendorCode',
'description' => '',
'inputType' => 'text',
'inputProperties' => [
'value' => '',
'handler' => ''
],
'outputType' => 'text',
'outputProperties' => [
'className' => ''
],
'group' => 'Параметры',
'required' => false,
'showInTable' => false,
'showInList' => false,
'isFilter' => false,
'filterOrder' => 5
],
[
'title' => 'Параметры',
'name' => 'parameters',
Expand Down
2 changes: 1 addition & 1 deletion templates/header.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="d-inline-block pt-2 pb-2 pl-2">
{% if is_granted('ROLE_USER') %}
{% if is_granted('ROLE_ADMIN') %}
<a class="btn btn-sm btn-outline-primary" data-toggle="tooltip" title="{{ 'Administration' | trans }}" href="{{ path('admin') }}" target="_blank">
<a class="btn btn-sm btn-outline-primary" data-toggle="tooltip" title="{{ 'Administration' | trans }}" href="{{ path('admin') }}">
<i class="icon-cog"></i>
</a>
{% endif %}
Expand Down

0 comments on commit 0a8cd78

Please sign in to comment.