mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-24 21:07:17 +00:00
[wiki] modification after rebase
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
|
||||
{% block extra_script %}{{block.super}}
|
||||
<script type="text/javascript" src="{{MEDIA_URL}}js/editormd/lib/marked.min.js"></script>
|
||||
<script type="text/javascript" src="{% static "scripts/lib/moment-with-locales.js" %}"></script> {# TODO: after 'upgrade-jquery', it shoulde be changed. #}
|
||||
<script type="text/javascript" src="{% static "scripts/lib/moment-with-locales.min.js" %}"></script>
|
||||
<script type="text/javascript">
|
||||
var renderer = new marked.Renderer();
|
||||
// remove 'id' attribute for headings
|
||||
|
@@ -68,7 +68,7 @@
|
||||
|
||||
{% block extra_script %}{{block.super}}
|
||||
<script type="text/javascript" src="{% static "scripts/lib/underscore.js" %}"></script>
|
||||
<script type="text/javascript" src="{% static "scripts/lib/moment-with-locales.js" %}"></script> {# TODO: after 'upgrade-jquery', it shoulde be changed. #}
|
||||
<script type="text/javascript" src="{% static "scripts/lib/moment-with-locales.min.js" %}"></script>
|
||||
<script type="text/javascript">
|
||||
// get wiki list
|
||||
$.ajax({
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2012-2016 Seafile Ltd.
|
||||
from django.conf.urls import url
|
||||
|
||||
from .views import slug
|
||||
from .views import slug, wiki_list, edit_page
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^$', wiki_list, name='list'),
|
||||
|
Reference in New Issue
Block a user