Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
2ea1b3b7
Commit
2ea1b3b7
authored
Feb 15, 2016
by
Олег Гиммельшпах
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix template
parent
4e021b9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
1 deletion
+25
-1
frontend/views/layouts/block/reviews.php
frontend/views/layouts/block/reviews.php
+10
-1
frontend/web/css/custom.css
frontend/web/css/custom.css
+15
-0
No files found.
frontend/views/layouts/block/reviews.php
View file @
2ea1b3b7
...
@@ -15,7 +15,7 @@ $reviews = Reviews::find()
...
@@ -15,7 +15,7 @@ $reviews = Reviews::find()
<span
class=
"rev_title"
>
<?=
Yii
::
t
(
'reviews'
,
'References about us'
)
?>
</span>
<span
class=
"rev_title"
>
<?=
Yii
::
t
(
'reviews'
,
'References about us'
)
?>
</span>
</div>
</div>
</div>
</div>
<?php
foreach
(
$reviews
as
$review
)
:
?>
<?php
foreach
(
$reviews
as
$
i
=>
$
review
)
:
?>
<?php
if
(
!
$review
->
video
)
:
?>
<?php
if
(
!
$review
->
video
)
:
?>
<div
class=
"row"
>
<div
class=
"row"
>
<?php
if
(
$review
->
photo
)
:
?>
<?php
if
(
$review
->
photo
)
:
?>
...
@@ -47,6 +47,15 @@ $reviews = Reviews::find()
...
@@ -47,6 +47,15 @@ $reviews = Reviews::find()
</div>
</div>
</div>
</div>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
if
(
$i
<
count
(
$reviews
)
-
1
)
:
?>
</div>
</section>
<div
class=
"reviews-delimiter"
></div>
<section
class=
"rev_sec reviews-block"
>
<div
class=
"container"
>
<?php
else
:
?>
<div
class=
"reviews-deend"
></div>
<?php
endif
;
?>
<?php
endforeach
;
?>
<?php
endforeach
;
?>
</div>
</div>
</section>
</section>
...
...
frontend/web/css/custom.css
View file @
2ea1b3b7
...
@@ -78,4 +78,19 @@ a.login_form_link, a.login_form_popup_link, a.reg_popup_link, a.reg_form_link{
...
@@ -78,4 +78,19 @@ a.login_form_link, a.login_form_popup_link, a.reg_popup_link, a.reg_form_link{
}
}
.article_short_txt
img
{
.article_short_txt
img
{
width
:
auto
!important
;
width
:
auto
!important
;
}
.reviews-block
{
background
:
#fff
;
padding-bottom
:
0
;
}
.reviews-delimiter
{
background
:
#fff
url(../images/rev_bg.png)
no-repeat
top
center
;
widows
:
100%
;
height
:
166px
;
}
section
.reviews-block
.row
{
margin-bottom
:
0
;
}
.reviews-deend
{
padding-bottom
:
60px
;
}
}
\ No newline at end of file
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