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
9ace5855
Commit
9ace5855
authored
Mar 14, 2016
by
Олег Гиммельшпах
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#1061 - Сделать кликабельными плитки в Кейсах
parent
fd06b9b8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
frontend/controllers/SiteController.php
frontend/controllers/SiteController.php
+1
-1
frontend/views/layouts/block/cases.php
frontend/views/layouts/block/cases.php
+4
-4
frontend/web/css/custom.css
frontend/web/css/custom.css
+4
-0
No files found.
frontend/controllers/SiteController.php
View file @
9ace5855
...
...
@@ -37,7 +37,7 @@ class SiteController extends Controller
// TEMP
public
function
actionContacts
()
{
Yii
::
$app
->
controller
->
meta_title
=
'Контакты'
;
Yii
::
$app
->
controller
->
meta_title
=
'Контакты
ООО "Арт Проект"
'
;
return
$this
->
render
(
'contacts'
);
}
...
...
frontend/views/layouts/block/cases.php
View file @
9ace5855
...
...
@@ -16,14 +16,14 @@ $models = CoContent::find()
<div
class=
"row"
>
<?php
foreach
(
$models
as
$model
)
:
?>
<div
class=
"col-md-6 col-xs-6 col-sm-12"
>
<
div
class=
"keys_block_small"
>
<
a
href=
"
<?=
Url
::
to
([
'/'
.
$model
->
url
])
?>
"
class=
"keys_block_small"
>
<img
src=
"
<?=
$model
->
preview
?>
"
height=
"338"
width=
"455"
>
<
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_title"
<?
if
(
$model
->
custom
==
CoContent
::
CUSTOM_WHITE
){
?>
style=
"color:#fff;"
<?
}
?>
>
<?=
$model
->
lang
->
title
?>
</div
>
<div
class=
"keys_small_foot"
>
<
?=
Html
::
a
(
'<span>Подробнее</span>'
,
[
'/'
.
$model
->
url
],
[
'class'
=>
'keys_small_btn_more'
])
?
>
<
div
class=
"keys_small_btn_more"
><span>
Подробнее
</span></div
>
<!-- <a href="#" class="keys_small_tags"># Big data</a> -->
</div>
</
div
>
</
a
>
</div>
<?php
endforeach
;
?>
<!-- <div class="col-md-6 col-xs-6 col-sm-12">
...
...
frontend/web/css/custom.css
View file @
9ace5855
...
...
@@ -1795,4 +1795,8 @@ a.keys_test_btn {
.error_not_foud
ul
,
.error_not_foud
ul
{
list-style-type
:
inherit
!important
;
}
.keys_block_small
{
display
:
block
;
}
\ 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