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
fc166b09
Commit
fc166b09
authored
Feb 16, 2016
by
Олег Гиммельшпах
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix case block
parent
f2ad47cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
frontend/views/layouts/block/cases.php
frontend/views/layouts/block/cases.php
+2
-1
frontend/web/css/custom.css
frontend/web/css/custom.css
+3
-0
No files found.
frontend/views/layouts/block/cases.php
View file @
fc166b09
<?php
use
\common\modules\content\models\CoContent
;
use
yii\helpers\Html
;
use
yii\helpers\Url
;
$models
=
CoContent
::
find
()
->
where
([
...
...
@@ -17,7 +18,7 @@ $models = CoContent::find()
<div
class=
"col-md-6 col-xs-6 col-sm-12"
>
<div
class=
"keys_block_small"
>
<img
src=
"
<?=
$model
->
preview
?>
"
height=
"338"
width=
"455"
>
<
div
class=
"keys_small_title"
<?
if
(
$model
->
custom
==
CoContent
::
CUSTOM_WHITE
){
?>
style=
"color:#fff;"
<?
}
?>
>
<?=
$model
->
lang
->
title
?>
</div
>
<
a
href=
"
<?=
Url
::
to
([
'/'
.
$model
->
url
])
?>
"
class=
"keys_small_title"
<?
if
(
$model
->
custom
==
CoContent
::
CUSTOM_WHITE
){
?>
style=
"color:#fff;"
<?
}
?>
>
<?=
$model
->
lang
->
title
?>
</a
>
<div
class=
"keys_small_foot"
>
<?=
Html
::
a
(
'<span>Подробнее</span>'
,
[
'/'
.
$model
->
url
],
[
'class'
=>
'keys_small_btn_more'
])
?>
<!-- <a href="#" class="keys_small_tags"># Big data</a> -->
...
...
frontend/web/css/custom.css
View file @
fc166b09
...
...
@@ -93,4 +93,7 @@ section.reviews-block .row {
}
.reviews-deend
{
padding-bottom
:
60px
;
}
.keys_small_title
:hover
{
text-decoration
:
none
;
}
\ 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