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
f7660e43
Commit
f7660e43
authored
Apr 29, 2016
by
Евгений Мичкарев
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Отображение надписи "закрыть" по наведении на крестик во всплывающих формах.
parent
f4750a42
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
4 deletions
+15
-4
common/modules/blog/views/post/_modals.php
common/modules/blog/views/post/_modals.php
+2
-2
frontend/messages/ru-RU/blog.php
frontend/messages/ru-RU/blog.php
+2
-1
frontend/web/js/common.js
frontend/web/js/common.js
+11
-1
No files found.
common/modules/blog/views/post/_modals.php
View file @
f7660e43
...
@@ -9,7 +9,7 @@ use common\modules\bids\models\Bid;
...
@@ -9,7 +9,7 @@ use common\modules\bids\models\Bid;
<div
class=
"hidden"
>
<div
class=
"hidden"
>
<div
id=
"article"
class=
"popup popup_2 blog_form"
>
<div
id=
"article"
class=
"popup popup_2 blog_form"
>
<div
class=
"txtbtnclose"
>
<?=
\Yii
::
t
(
'blog'
,
'Close'
)
?>
</div>
<span
class=
"popup__title"
>
<?=
\Yii
::
t
(
'blog'
,
'Suggest an article for the blog'
)
?>
</span>
<span
class=
"popup__title"
>
<?=
\Yii
::
t
(
'blog'
,
'Suggest an article for the blog'
)
?>
</span>
<?php
<?php
...
@@ -81,7 +81,7 @@ use common\modules\bids\models\Bid;
...
@@ -81,7 +81,7 @@ use common\modules\bids\models\Bid;
<div
id=
"feedback"
class=
"popup popup_2 blog_form_2"
>
<div
id=
"feedback"
class=
"popup popup_2 blog_form_2"
>
<
!-- <div class="txtbtnclose">Закрыть</div> --
>
<
div
class=
"txtbtnclose"
>
<?=
\Yii
::
t
(
'blog'
,
'Close'
)
?>
</div
>
<span
class=
"popup__title"
>
<?=
\Yii
::
t
(
'blog'
,
'Offer a subject'
)
?>
</span>
<span
class=
"popup__title"
>
<?=
\Yii
::
t
(
'blog'
,
'Offer a subject'
)
?>
</span>
<p><strong>
<?=
\Yii
::
t
(
'blog'
,
"We are ready to share our experience, let us know what a topic you're interested in."
)
?>
</strong></p>
<p><strong>
<?=
\Yii
::
t
(
'blog'
,
"We are ready to share our experience, let us know what a topic you're interested in."
)
?>
</strong></p>
<br>
<br>
...
...
frontend/messages/ru-RU/blog.php
View file @
f7660e43
...
@@ -18,5 +18,6 @@ For example: write about CRM" => "Что хочу почитать?
...
@@ -18,5 +18,6 @@ For example: write about CRM" => "Что хочу почитать?
'Load more'
=>
'Загрузить еще'
,
'Load more'
=>
'Загрузить еще'
,
'Read more...'
=>
'Читать...'
,
'Read more...'
=>
'Читать...'
,
'Follow us!'
=>
'Все секреты в наших соц сетях!'
,
'Follow us!'
=>
'Все секреты в наших соц сетях!'
,
'Offer a subject and we will publish about it'
=>
'Предложите свою тему и мы напишем'
'Offer a subject and we will publish about it'
=>
'Предложите свою тему и мы напишем'
,
'Close'
=>
'Закрыть'
];
];
\ No newline at end of file
frontend/web/js/common.js
View file @
f7660e43
...
@@ -310,7 +310,17 @@ $(document).ready(function() {
...
@@ -310,7 +310,17 @@ $(document).ready(function() {
midClick
:
true
,
midClick
:
true
,
removalDelay
:
300
,
removalDelay
:
300
,
mainClass
:
'
my-mfp-zoom-in
'
mainClass
:
'
my-mfp-zoom-in
'
,
callbacks
:
{
open
:
function
()
{
$
(
'
.mfp-close
'
).
mouseover
(
function
()
{
$
(
this
).
parent
().
find
(
'
.txtbtnclose
'
).
show
();
}).
mouseout
(
function
()
{
$
(
this
).
parent
().
find
(
'
.txtbtnclose
'
).
hide
();
});
}
}
});
});
$
(
"
.toggle-mnu
"
).
click
(
function
()
{
$
(
"
.toggle-mnu
"
).
click
(
function
()
{
$
(
this
).
toggleClass
(
"
on
"
);
$
(
this
).
toggleClass
(
"
on
"
);
...
...
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