#test
This commit is contained in:
parent
a700ea40ec
commit
6bca33946e
|
@ -361,12 +361,12 @@ class Area_code_2020(models.Model):
|
|||
#新闻
|
||||
class News(models.Model):
|
||||
NEWMEDIA_NEWS_CHOICES = (
|
||||
('政策依据', '政策依据'),
|
||||
('基层动态', '基层动态'),
|
||||
('通知', '通知'),
|
||||
('外省动态', '外省动态'),
|
||||
('监测通报', '监测通报'),
|
||||
('舆情热点', '舆情热点')
|
||||
('0', '政策依据'),
|
||||
('1', '基层动态'),
|
||||
('2', '通知'),
|
||||
('3', '外省动态'),
|
||||
('4', '监测通报'),
|
||||
('5', '舆情热点')
|
||||
)
|
||||
id = models.UUIDField('id',primary_key=True,default=uuid.uuid4)
|
||||
type = models.CharField('文章类型',max_length=256,null=True,blank=True,choices=NEWMEDIA_NEWS_CHOICES)
|
||||
|
|
|
@ -315,11 +315,11 @@
|
|||
<li class="profile">
|
||||
|
||||
<a href="#" data-toggle="dropdown" class="toggle">
|
||||
{# {% for u in user.userprofile_set.all %}#}
|
||||
{##}
|
||||
{# <img src="{{ u.image.url }}" alt="user-image"#}
|
||||
{# class="img-circle img-inline">#}
|
||||
{# {% endfor %}#}
|
||||
{# {% for u in user.userprofile_set.all %}#}
|
||||
{##}
|
||||
{# <img src="{{ u.image.url }}" alt="user-image"#}
|
||||
{# class="img-circle img-inline">#}
|
||||
{# {% endfor %}#}
|
||||
<span><i class="fa fa-angle-down"></i></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu profile animated fadeIn">
|
||||
|
@ -352,9 +352,9 @@
|
|||
</li>
|
||||
<li class="chat-toggle-wrapper">
|
||||
{# <a href="#" data-toggle="chatbar" class="toggle_chat">#}
|
||||
{# {% for i in user.userprofile_set.all %}#}
|
||||
<span>{{ i.name }}</span>
|
||||
{# {% endfor %}#}
|
||||
{% for i in user.userprofile_set.all %}
|
||||
<span>{{ i.name }}</span>
|
||||
{% endfor %}
|
||||
{# <i class="fa fa-comments"></i>#}
|
||||
{# <span class="badge badge-warning">9</span>#}
|
||||
{# </a>#}
|
||||
|
|
Loading…
Reference in New Issue