parent
0477027a9c
commit
212afac481
@ -0,0 +1,6 @@
|
||||
projectKey=DjangoBlog3
|
||||
serverUrl=http://localhost:9000
|
||||
serverVersion=25.11.0.114957
|
||||
dashboardUrl=http://localhost:9000/dashboard?id=DjangoBlog3
|
||||
ceTaskId=dda54cf7-c33c-4991-95ee-91be04fa807a
|
||||
ceTaskUrl=http://localhost:9000/api/ce/task?id=dda54cf7-c33c-4991-95ee-91be04fa807a
|
||||
File diff suppressed because it is too large
Load Diff
@ -1 +1 @@
|
||||
# This file makes this a Python package
|
||||
# This file makes this a Python package
|
||||
|
||||
@ -0,0 +1,11 @@
|
||||
sonar.projectKey=DjangoBlog
|
||||
sonar.projectName=DjangoBlog
|
||||
sonar.projectVersion=1.0
|
||||
sonar.sources=.
|
||||
sonar.language=py
|
||||
sonar.sourceEncoding=UTF-8
|
||||
sonar.python.coverage.reportPaths=coverage.xml
|
||||
|
||||
# ?? SonarQube ??
|
||||
sonar.host.url=http://localhost:9000
|
||||
|
||||
@ -1,34 +1,40 @@
|
||||
{% load blog_tags %}
|
||||
<li class="comment even thread-even depth-{{ depth }} parent" id="comment-{{ comment_item.pk }}">
|
||||
<div id="div-comment-{{ comment_item.pk }}" class="comment-body">
|
||||
<div class="comment-author vcard">
|
||||
<img alt=""
|
||||
src="{{ comment_item.author.email|gravatar_url:150 }}"
|
||||
srcset="{{ comment_item.author.email|gravatar_url:150 }}"
|
||||
class="avatar avatar-96 photo" height="96" width="96">
|
||||
<cite class="fn">
|
||||
<a rel="nofollow"
|
||||
{% if comment_item.author.is_superuser %}
|
||||
href="{{ comment_item.author.get_absolute_url }}"
|
||||
{% else %}
|
||||
href="#"
|
||||
{% endif %}
|
||||
rel="external nofollow"
|
||||
class="url">{{ comment_item.author.username }}
|
||||
</a>
|
||||
</cite>
|
||||
|
||||
</div>
|
||||
<ul class="comment-list">
|
||||
<li class="comment even thread-even depth-{{ depth }} parent" id="comment-{{ comment_item.pk }}">
|
||||
<div id="div-comment-{{ comment_item.pk }}" class="comment-body">
|
||||
<div class="comment-author vcard">
|
||||
<img alt=""
|
||||
src="{{ comment_item.author.email|gravatar_url:150 }}"
|
||||
srcset="{{ comment_item.author.email|gravatar_url:150 }}"
|
||||
class="avatar avatar-96 photo" height="96" width="96">
|
||||
<cite class="fn">
|
||||
{% if comment_item.author.is_superuser %}
|
||||
<a href="{{ comment_item.author.get_absolute_url }}" rel="external nofollow" class="url">
|
||||
{{ comment_item.author.username }}
|
||||
</a>
|
||||
{% else %}
|
||||
<span class="url">{{ comment_item.author.username }}</span>
|
||||
{% endif %}
|
||||
</cite>
|
||||
</div>
|
||||
|
||||
<div class="comment-meta commentmetadata">
|
||||
<div>{{ comment_item.creation_time }}</div>
|
||||
<div>回复给:@{{ comment_item.author.parent_comment.username }}</div>
|
||||
</div>
|
||||
<p>{{ comment_item.body|escape|comment_markdown }}</p>
|
||||
<div class="reply"><a rel="nofollow" class="comment-reply-link"
|
||||
href="javascript:void(0)"
|
||||
onclick="do_reply({{ comment_item.pk }})"
|
||||
aria-label="回复给{{ comment_item.author.username }}">回复</a></div>
|
||||
</div>
|
||||
<div class="comment-meta commentmetadata">
|
||||
<div>{{ comment_item.creation_time }}</div>
|
||||
{% if comment_item.author.parent_comment %}
|
||||
<div>回复给: @{{ comment_item.author.parent_comment.username }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
</li><!-- #comment-## -->
|
||||
<p>{{ comment_item.body|escape|comment_markdown }}</p>
|
||||
|
||||
<div class="reply">
|
||||
<button type="button" class="comment-reply-button"
|
||||
onclick="do_reply({{ comment_item.pk }})"
|
||||
aria-label="回复给{{ comment_item.author.username }}">
|
||||
回复
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@ -1,19 +1,19 @@
|
||||
<li id="menu-item-{{ node.pk }}"
|
||||
class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-{{ node.pk }}">
|
||||
<a href="{{ node.get_absolute_url }}">{{ node.name }}</a>
|
||||
{% load blog_tags %}
|
||||
{% query nav_category_list parent_category=node as child_categorys %}
|
||||
{% if child_categorys %}
|
||||
|
||||
<ul class="sub-menu">
|
||||
{% for child in child_categorys %}
|
||||
{% with node=child template_name="share_layout/nav_node.html" %}
|
||||
{% include template_name %}
|
||||
{% endwith %}
|
||||
{% endfor %}
|
||||
|
||||
</ul>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% load blog_tags %}
|
||||
|
||||
<ul class="menu">
|
||||
<li id="menu-item-{{ node.pk }}"
|
||||
class="menu-item menu-item-type-taxonomy menu-item-object-category {% if child_categorys %}menu-item-has-children{% endif %} menu-item-{{ node.pk }}">
|
||||
<a href="{{ node.get_absolute_url }}">{{ node.name }}</a>
|
||||
|
||||
{% query nav_category_list parent_category=node as child_categorys %}
|
||||
{% if child_categorys %}
|
||||
<ul class="sub-menu">
|
||||
{% for child in child_categorys %}
|
||||
{% with node=child template_name="share_layout/nav_node.html" %}
|
||||
{% include template_name %}
|
||||
{% endwith %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Loading…
Reference in new issue