handle initial sync and no notification, use short_name
This commit is contained in:
parent
7230e7a3ee
commit
2100fabf24
2 changed files with 17 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html ng-app="weechat">
|
||||
<head>
|
||||
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js" rel="stylesheet" media="screen">
|
||||
|
@ -11,7 +11,7 @@
|
|||
<script type="text/javascript" src="js/protocol.js"></script>
|
||||
<script type="text/javascript" src="js/websockets.js"></script>
|
||||
</head>
|
||||
<body ng-app="weechat">
|
||||
<body>
|
||||
<div ng-controller="WeechatCtrl">
|
||||
<div ng-hide="connected" class="container">
|
||||
<h2>
|
||||
|
@ -55,11 +55,11 @@
|
|||
|
||||
<ul class="nav nav-pills">
|
||||
<li class="label" ng-class="{'label-success': content.notification }" ng-repeat="(key, content) in buffers | toArray | orderBy:'content.number':true">
|
||||
<a ng-click="setActiveBuffer(content.id)">{{ content.full_name }}</a>
|
||||
<a ng-click="setActiveBuffer(content.id)" title="{{ content.full_name }}">{{ content.short_name }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="bufferlines" ng-repeat="bufferline in activeBuffer.lines">
|
||||
<span class="date muted">
|
||||
<span class="date text-muted">
|
||||
{{ bufferline.date }}
|
||||
</span>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue