mirror of https://github.com/logos-co/open-law.git
fix comments
This commit is contained in:
parent
46cfaea7bf
commit
c93909fb86
File diff suppressed because one or more lines are too long
|
@ -76,9 +76,8 @@
|
||||||
|
|
||||||
{% if current_user.is_authenticated %}
|
{% if current_user.is_authenticated %}
|
||||||
{% block right_sidebar %} {% include 'right_sidebar.html' %} {% endblock %}
|
{% block right_sidebar %} {% include 'right_sidebar.html' %} {% endblock %}
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% include 'book/add_book_modal.html' %}
|
{% include 'book/add_book_modal.html' %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<!-- prettier-ignore -->
|
<!-- prettier-ignore -->
|
||||||
<script src="{{ url_for('static', filename='js/main.js') }}" type="text/javascript" defer></script>
|
<script src="{{ url_for('static', filename='js/main.js') }}" type="text/javascript" defer></script>
|
||||||
|
|
|
@ -4,19 +4,10 @@
|
||||||
{% if current_user.is_authenticated %}
|
{% if current_user.is_authenticated %}
|
||||||
{% include 'book/delete_section_modal.html' %}
|
{% include 'book/delete_section_modal.html' %}
|
||||||
{% include 'book/edit_section_modal.html' %}
|
{% include 'book/edit_section_modal.html' %}
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<!-- show delete section btn on rightside bar -->
|
|
||||||
{% if current_user.is_authenticated %}
|
|
||||||
<!-- prettier-ignore -->
|
<!-- prettier-ignore -->
|
||||||
{% set show_delete_section = True %}
|
{% set show_delete_section = True %}
|
||||||
<!-- prettier-ignore -->
|
<!-- prettier-ignore -->
|
||||||
{% set show_edit_section = True %}
|
{% set show_edit_section = True %}
|
||||||
<!-- prettier-ignore -->
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<!-- prettier-ignore -->
|
|
||||||
{% if current_user.is_authenticated %}
|
|
||||||
{% block right_sidebar %}
|
{% block right_sidebar %}
|
||||||
{% include 'book/right_sidebar.html' %}
|
{% include 'book/right_sidebar.html' %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -54,7 +54,6 @@ export function initWallet() {
|
||||||
credentials: 'include',
|
credentials: 'include',
|
||||||
redirect: 'follow',
|
redirect: 'follow',
|
||||||
});
|
});
|
||||||
console.log(res2);
|
|
||||||
if (res2.status == 200) {
|
if (res2.status == 200) {
|
||||||
window.location.replace(res2.url);
|
window.location.replace(res2.url);
|
||||||
} else window.location.reload();
|
} else window.location.reload();
|
||||||
|
|
Loading…
Reference in New Issue