File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 < div class ="layui-input-inline " style ="width: 30px; ">
4242 < button class ="layui-btn layui-btn-primary layui-btn-sm " id ="project-icon-select ">
4343 {% if pro.icon %}
44- < svg class ="icon " aria-hidden ="true "> < use xlink:href ="{% if pro.icon %}#{{pro.icon}}{% else %}#mrdoc-icon-pro-2{% endif %} "> </ use > </ svg >
44+ < svg class ="icon " aria-hidden ="true ">
45+ < use xlink:href ="{% if pro.icon and pro.icon != 'None' %}#{{pro.icon}}{% else %}#mrdoc-icon-pro-2{% endif %} "> </ use >
46+ </ svg >
4547 {% else %}
4648 < i class ="layui-icon layui-icon-addition "> </ i >
4749 {% endif %}
Original file line number Diff line number Diff line change 140140 style ="background: url({% static 'icon_img/viewcode.svg' %}) no-repeat right center; "
141141 {% endif %}
142142 >
143- {% if p.icon and p.icon != None %}
143+ {% if p.icon and p.icon != ' None' %}
144144 < p class ="layui-elip " style ="font-weight: 700; ">
145145 {% if p.is_top %}< i class ="iconfont mrdoc-icon-totop " title ="置顶文集 " style ="color: red;font-size: 12px; "> </ i > {% endif %}
146146 < svg class ="icon " aria-hidden ="true "> < use xlink:href ="#{{p.icon}} "> </ use > </ svg > {{ p.name }} < span class ="layui-badge-rim "> {{p.id|get_doc_count}}</ span >
You can’t perform that action at this time.
0 commit comments