Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
addcpm-json
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Александр Чаплыгин
addcpm-json
Commits
00e2486b
Commit
00e2486b
authored
Apr 01, 2019
by
Александр Чаплыгин
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Правка для оствтупов для ссылки в переключателе
parent
f07b6c9c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
styles-feeds-stat.css
src/public/css/styles-feeds-stat.css
+10
-2
Cabinet.php
src/src/App/Action/User/Cabinet.php
+2
-3
No files found.
src/public/css/styles-feeds-stat.css
View file @
00e2486b
...
@@ -445,12 +445,21 @@ input[type="checkbox"]
...
@@ -445,12 +445,21 @@ input[type="checkbox"]
background-color
:
#E6E6E6
;
background-color
:
#E6E6E6
;
}
}
.b-filter__switch-item
{
padding
:
0
;
}
.b-filter__switch-item
a
.b-filter__switch-item
a
{
{
display
:
inline-block
;
height
:
100%
;
width
:
100%
;
padding
:
0
15px
;
color
:
#383838
;
color
:
#383838
;
}
}
.b-filter__switch-item
a
:hover
.b-filter__switch-item
a
:hover
{
{
text-decoration
:
none
;
text-decoration
:
none
;
}
}
\ No newline at end of file
src/src/App/Action/User/Cabinet.php
View file @
00e2486b
...
@@ -32,7 +32,6 @@ use App\Model\Users;
...
@@ -32,7 +32,6 @@ use App\Model\Users;
use
App\Model\Statistics
;
use
App\Model\Statistics
;
use
App\Model\Providers
;
use
App\Model\Providers
;
use
App\Model\Feeds\Feeds
;
use
App\Model\Feeds\Feeds
;
use
App\Model\Feeds\CategoryFees
;
use
App\Entity\Feeds\CategoryFee
;
use
App\Entity\Feeds\CategoryFee
;
use
Psr\Http\Message\ResponseInterface
;
use
Psr\Http\Message\ResponseInterface
;
use
Psr\Http\Message\ServerRequestInterface
;
use
Psr\Http\Message\ServerRequestInterface
;
...
@@ -182,13 +181,13 @@ class Cabinet extends Common
...
@@ -182,13 +181,13 @@ class Cabinet extends Common
$shop_id
=
$shop
->
getId
();
$shop_id
=
$shop
->
getId
();
// Определяем список фидов магазина:
// Определяем список фидов магазина:
/** @var \App\Model\Feeds\Feeds $shopFeedsModel */
/** @var \App\Model\Feeds\
Shop
Feeds $shopFeedsModel */
$shopFeedsModel
=
$this
->
container
->
get
(
\App\Model\Feeds\ShopFeeds
::
class
);
$shopFeedsModel
=
$this
->
container
->
get
(
\App\Model\Feeds\ShopFeeds
::
class
);
$shopFeeds
=
$shopFeedsModel
->
findAll
([
'shop_id'
=>
$shop_id
])
->
toArray
();
$shopFeeds
=
$shopFeedsModel
->
findAll
([
'shop_id'
=>
$shop_id
])
->
toArray
();
if
(
count
(
$shopFeeds
)
>
0
)
{
if
(
count
(
$shopFeeds
)
>
0
)
{
/** @var \App\Model\
ShopFeeds $shopF
eedsModel */
/** @var \App\Model\
Feeds\Feeds $f
eedsModel */
$feedsModel
=
$this
->
container
->
get
(
\App\Model\Feeds\Feeds
::
class
);
$feedsModel
=
$this
->
container
->
get
(
\App\Model\Feeds\Feeds
::
class
);
/** @var \App\Model\Feeds\Categories $categoriesModel */
/** @var \App\Model\Feeds\Categories $categoriesModel */
$categoriesModel
=
$this
->
container
->
get
(
\App\Model\Feeds\Categories
::
class
);
$categoriesModel
=
$this
->
container
->
get
(
\App\Model\Feeds\Categories
::
class
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment