修复分享时用户名显示错误的问题

This commit is contained in:
virusdefender 2015-09-10 09:16:51 +08:00
parent 4d73000be2
commit 7b8079f4be

View File

@ -71,7 +71,7 @@
<button class="btn btn-primary" id="share-code-btn">分享我的代码</button> <button class="btn btn-primary" id="share-code-btn">分享我的代码</button>
{% endif %} {% endif %}
<textarea class="form-control" id="share-code-textarea" <textarea class="form-control" id="share-code-textarea"
{% if not submission.shared %}style="display: none" {% endif %}>{{ problem.title }}】- {{ request.user.username }}的提交 {% if not submission.shared %}style="display: none" {% endif %}>{{ problem.title }}
{{ request.build_absolute_uri }}</textarea> {{ request.build_absolute_uri }}</textarea>
</div> </div>
{% endifequal %} {% endifequal %}