<commit_before>{% extends 'TopxiaWebBundle::base.html.twig' %}
{% set loadjs = {'site':'default.js'} %}
  {% if loadjs is defined and not null %}
    {% block javascripts %}
      <script src="{{ asset('bundles/topxiaweb/js/default.js') }}"></script>
    {% endblock %}
  {% endif %}
{% block navTabs %}
  <ul class="nav nav-tabs">
    <li role="newknowledge" class="active"><a href="#profile" aria-controls="newknowledge" role="tab" data-toggle="tab">我的分享</a></li>
    <li role="myconcern"><a href="#timeline" aria-controls="myconcern" role="tab" data-toggle="tab">收藏</a></li>
    <li role="theme"><a href="#theme" aria-controls="theme" role="tab" data-toggle="tab">关注</a></li>
  </ul>
{% endblock %}
{% block leftaside %}
  {% include 'TopxiaWebBundle::left-aside.html.twig' %}
{% endblock %}
{% block content %} 
{% if shareKnowledges %} 
  {% for shareKnowledge in shareKnowledges %}
    <div class="panel panel-default">
      <div class="panel-heading">
        <h4>{% if shareKnowledge.type == 'file' %}<i class="fa fa-sticky-note-o"></i>{% else %}<i class="fa fa-link"></i>{% endif %}&nbsp<a href="#">{{shareKnowledge.title}}</a>
        </h4>
      </div>
      <div class="panel-body">
        {{shareKnowledge.summary}}
        <div class="col-md-offset-9">
          <button type="button" class="btn btn-default">编辑</button>
          <button type="button" class="btn btn-primary">删除</button>
        </div>
      </div>
    </div>
  {% endfor %}
{% else %}
  <div class="panel-title"><h4 align="center">暂无分享记录</h4></div>
{% endif %}
{% endblock %}<commit_msg>modify<commit_after>{% extends 'TopxiaWebBundle::base.html.twig' %}
{% set loadjs = {'site':'default.js'} %}
  {% if loadjs is defined and not null %}
    {% block javascripts %}
      <script src="{{ asset('bundles/topxiaweb/js/default.js') }}"></script>
    {% endblock %}
  {% endif %}
{% block navTabs %}
  <ul class="nav nav-tabs">
    <li role="newknowledge" class="active"><a href="#profile" aria-controls="newknowledge" role="tab" data-toggle="tab">我的分享</a></li>
    <li role="myconcern"><a href="#timeline" aria-controls="myconcern" role="tab" data-toggle="tab">收藏</a></li>
    <li role="theme"><a href="#theme" aria-controls="theme" role="tab" data-toggle="tab">关注</a></li>
  </ul>
{% endblock %}
{% block leftaside %}
  {% include 'TopxiaWebBundle::left-aside.html.twig' %}
{% endblock %}
{% block content %} 
{% if shareKnowledges %} 
  {% for shareKnowledge in shareKnowledges %}
    <div class="panel panel-default">
      <div class="panel-heading">
        <h4><a href="#">{{shareKnowledge.title}}</a>&nbsp&nbsp{% if shareKnowledge.type == 'file' %}<i class="fa fa-sticky-note-o"></i>{% else %}<i class="fa fa-link"></i>{% endif %}
        </h4>
      </div>
      <div class="panel-body">
        {{shareKnowledge.summary}}
        <div class="col-md-offset-9">
          <button type="button" class="btn btn-default">编辑</button>
          <button type="button" class="btn btn-primary">删除</button>
        </div>
      </div>
    </div>
  {% endfor %}
{% else %}
  <div class="panel-title"><h4 align="center">暂无分享记录</h4></div>
{% endif %}
{% endblock %}
{'fraction_non_alphanumeric': 0.2256524506683641, 'fraction_numerical': 0.003182686187141948, 'mean_word_length': 3.769347496206373, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3229389', 'n_tokens_mistral': 1188, 'n_tokens_neox': 1091, 'n_words': 207}