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
f207a3c5
Unverified
Commit
f207a3c5
authored
Jan 25, 2020
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
Markdown 支持改进 #54
parent
d4ae54a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
src/main/java/org/b3log/solo/processor/console/AdminConsole.java
...n/java/org/b3log/solo/processor/console/AdminConsole.java
+2
-1
src/main/resources/admin/admin-preference.ftl
src/main/resources/admin/admin-preference.ftl
+2
-0
No files found.
src/main/java/org/b3log/solo/processor/console/AdminConsole.java
View file @
f207a3c5
...
@@ -61,7 +61,7 @@ import java.util.*;
...
@@ -61,7 +61,7 @@ import java.util.*;
* Admin console render processing.
* Admin console render processing.
*
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.7.0.1
7, Dec 15, 2019
* @version 1.7.0.1
8, Jan 25, 2020
* @since 0.4.1
* @since 0.4.1
*/
*/
@Singleton
@Singleton
...
@@ -216,6 +216,7 @@ public class AdminConsole {
...
@@ -216,6 +216,7 @@ public class AdminConsole {
timeZoneIdOptions
.
append
(
option
);
timeZoneIdOptions
.
append
(
option
);
}
}
dataModel
.
put
(
Common
.
LUTE_AVAILABLE
,
Markdowns
.
LUTE_AVAILABLE
);
dataModel
.
put
(
"timeZoneIdOptions"
,
timeZoneIdOptions
.
toString
());
dataModel
.
put
(
"timeZoneIdOptions"
,
timeZoneIdOptions
.
toString
());
fireFreeMarkerActionEvent
(
templateName
,
dataModel
);
fireFreeMarkerActionEvent
(
templateName
,
dataModel
);
}
}
...
...
src/main/resources/admin/admin-preference.ftl
View file @
f207a3c5
...
@@ -249,9 +249,11 @@
...
@@ -249,9 +249,11 @@
<div class="fn__clear"></div>
<div class="fn__clear"></div>
</div>
</div>
<div id="tabPreferencePanel_markdown" class="fn__none form">
<div id="tabPreferencePanel_markdown" class="fn__none form">
<#if !luteAvailable>
<div class="fn__clear">
<div class="fn__clear">
${luteHTTPLabel}
${luteHTTPLabel}
</div>
</div>
</#if>
<button class="fn__right" onclick="admin.preference.update()">${updateLabel}</button>
<button class="fn__right" onclick="admin.preference.update()">${updateLabel}</button>
<div class="fn__flex">
<div class="fn__flex">
<div class="fn__flex-1">
<div class="fn__flex-1">
...
...
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