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
c5fc3c09
Commit
c5fc3c09
authored
Mar 11, 2016
by
Олег Гиммельшпах
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#1064 - Создать прямую ссылку на форму "Предложить тему для блога". Изменить в форме заголовок.
parent
61152186
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
common/modules/blog/views/post/_modals.php
common/modules/blog/views/post/_modals.php
+2
-2
common/modules/blog/views/post/_sidebar.php
common/modules/blog/views/post/_sidebar.php
+2
-2
frontend/web/js/custom.js
frontend/web/js/custom.js
+6
-0
No files found.
common/modules/blog/views/post/_modals.php
View file @
c5fc3c09
...
...
@@ -8,7 +8,7 @@ use common\modules\bids\models\Bid;
?>
<div
class=
"hidden"
>
<div
id=
"
blog_form
"
class=
"popup popup_2 blog_form"
>
<div
id=
"
article
"
class=
"popup popup_2 blog_form"
>
<span
class=
"popup__title"
>
Предложить статью для блога
</span>
...
...
@@ -80,7 +80,7 @@ use common\modules\bids\models\Bid;
</div>
<div
id=
"
blog_form_2
"
class=
"popup popup_2 blog_form_2"
>
<div
id=
"
feedback
"
class=
"popup popup_2 blog_form_2"
>
<!-- <div class="txtbtnclose">Закрыть</div> -->
<span
class=
"popup__title"
>
Предложить тему для блога
</span>
<p><strong>
Мы готовы бесплатно поделиться накопленным опытом, если вы сообщите тему которая вас интересует
</strong></p>
...
...
common/modules/blog/views/post/_sidebar.php
View file @
c5fc3c09
...
...
@@ -31,11 +31,11 @@ use common\models\Settings;
</div>
<div
class=
"sidebar_module"
>
<div
class=
"sidebar_module_body"
>
<a
href=
"#
blog_form_2
"
class=
"sidebar_btn popup-form"
>
<a
href=
"#
feedback
"
class=
"sidebar_btn popup-form"
>
Предложить тему
<div
class=
"blog_toltip_right"
>
Предложите свою тему и мы напишем
</div>
</a>
<a
href=
"#
blog_form
"
class=
"sidebar_btn popup-form"
>
Послать статью
</a>
<a
href=
"#
article
"
class=
"sidebar_btn popup-form"
>
Послать статью
</a>
</div>
</div>
...
...
frontend/web/js/custom.js
View file @
c5fc3c09
$
(
document
).
ready
(
function
()
{
var
hash
=
window
.
location
.
hash
;
if
(
$
(
hash
).
length
>
0
&&
$
(
'
[href="
'
+
hash
+
'
"]
'
).
length
>
0
)
{
$
(
'
[href="
'
+
hash
+
'
"]
'
).
click
();
}
$
(
"
.important_button
"
).
click
(
function
()
{
$
(
this
).
toggleClass
(
"
important_button_active
"
);
$
(
"
.important_button_text
"
).
toggleClass
(
"
important_button_text_active
"
);
...
...
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