Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
33877de8
Unverified
Commit
33877de8
authored
Jan 13, 2019
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🎨
Fix #12610
parent
c6a7cb12
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
15 deletions
+11
-15
src/main/webapp/admin-article.ftl
src/main/webapp/admin-article.ftl
+4
-4
src/main/webapp/js/admin/article.js
src/main/webapp/js/admin/article.js
+3
-5
src/main/webapp/js/admin/latkeAdmin.js
src/main/webapp/js/admin/latkeAdmin.js
+3
-5
src/main/webapp/js/admin/latkeAdmin.min.js
src/main/webapp/js/admin/latkeAdmin.min.js
+1
-1
No files found.
src/main/webapp/admin-article.ftl
View file @
33877de8
...
@@ -73,12 +73,12 @@
...
@@ -73,12 +73,12 @@
</span>
</span>
<div class="right article-commentable__panel">
<div class="right article-commentable__panel">
<label for="articleCommentable" style="margin: 13px 0 0 0">${allowComment1Label}</label>
<label for="articleCommentable" style="margin: 13px 0 0 0">${allowComment1Label}</label>
<input type="checkbox" id="articleCommentable" checked
="checked"
/>
<input type="checkbox" id="articleCommentable" checked />
<span id="postToCommunityPanel"
class="none"
>
<span id="postToCommunityPanel">
<label for="postToCommunity">
<label for="postToCommunity">
<a class="no-underline" href="https://hacpai.com/article/1
440573175609
" target="_blank">${postToCommunityLabel}</a>
<a class="no-underline" href="https://hacpai.com/article/1
546941897596
" target="_blank">${postToCommunityLabel}</a>
</label>
</label>
<input id="postToCommunity" type="checkbox"
checked="checked"
/>
<input id="postToCommunity" type="checkbox" />
</span>
</span>
</div>
</div>
<div class="clear"></div>
<div class="clear"></div>
...
...
src/main/webapp/js/admin/article.js
View file @
33877de8
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
*
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.5.1.
1, Dec 10, 2018
* @version 1.5.1.
2, Jan 13, 2019
*/
*/
admin
.
article
=
{
admin
.
article
=
{
currentEditorType
:
''
,
currentEditorType
:
''
,
...
@@ -343,15 +343,13 @@ admin.article = {
...
@@ -343,15 +343,13 @@ admin.article = {
if
(
this
.
status
.
articleHadBeenPublished
)
{
if
(
this
.
status
.
articleHadBeenPublished
)
{
$
(
"
#postToCommunityPanel
"
).
hide
();
$
(
"
#postToCommunityPanel
"
).
hide
();
}
else
{
}
else
{
// 1.0.0 开始默认会发布到社区
$
(
"
#postToCommunityPanel
"
).
show
();
// $("#postToCommunityPanel").show();
}
}
}
else
{
}
else
{
$
(
"
#submitArticle
"
).
show
();
$
(
"
#submitArticle
"
).
show
();
$
(
"
#unSubmitArticle
"
).
hide
();
$
(
"
#unSubmitArticle
"
).
hide
();
$
(
"
#saveArticle
"
).
show
();
$
(
"
#saveArticle
"
).
show
();
// 1.0.0 开始默认会发布到社区
$
(
"
#postToCommunityPanel
"
).
show
();
// $("#postToCommunityPanel").show();
}
}
$
(
"
#postToCommunity
"
).
attr
(
"
checked
"
,
"
checked
"
);
$
(
"
#postToCommunity
"
).
attr
(
"
checked
"
,
"
checked
"
);
...
...
src/main/webapp/js/admin/latkeAdmin.js
View file @
33877de8
...
@@ -1055,7 +1055,7 @@ $.extend(TablePaginate.prototype, {
...
@@ -1055,7 +1055,7 @@ $.extend(TablePaginate.prototype, {
*
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.5.1.
1, Dec 10, 2018
* @version 1.5.1.
2, Jan 13, 2019
*/
*/
admin
.
article
=
{
admin
.
article
=
{
currentEditorType
:
''
,
currentEditorType
:
''
,
...
@@ -1378,15 +1378,13 @@ admin.article = {
...
@@ -1378,15 +1378,13 @@ admin.article = {
if
(
this
.
status
.
articleHadBeenPublished
)
{
if
(
this
.
status
.
articleHadBeenPublished
)
{
$
(
"
#postToCommunityPanel
"
).
hide
();
$
(
"
#postToCommunityPanel
"
).
hide
();
}
else
{
}
else
{
// 1.0.0 开始默认会发布到社区
$
(
"
#postToCommunityPanel
"
).
show
();
// $("#postToCommunityPanel").show();
}
}
}
else
{
}
else
{
$
(
"
#submitArticle
"
).
show
();
$
(
"
#submitArticle
"
).
show
();
$
(
"
#unSubmitArticle
"
).
hide
();
$
(
"
#unSubmitArticle
"
).
hide
();
$
(
"
#saveArticle
"
).
show
();
$
(
"
#saveArticle
"
).
show
();
// 1.0.0 开始默认会发布到社区
$
(
"
#postToCommunityPanel
"
).
show
();
// $("#postToCommunityPanel").show();
}
}
$
(
"
#postToCommunity
"
).
attr
(
"
checked
"
,
"
checked
"
);
$
(
"
#postToCommunity
"
).
attr
(
"
checked
"
,
"
checked
"
);
...
...
src/main/webapp/js/admin/latkeAdmin.min.js
View file @
33877de8
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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