diff --git a/index.html b/index.html
index 10924d2..e8382cb 100644
--- a/index.html
+++ b/index.html
@@ -260,9 +260,9 @@ $ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out rel
-
+
- {{ content.indent(predicate) }}{{ content.shortName }}{{ content.fullName }}
+ {{ content.indentedName(predicate) }}{{ content.fullName }}
@@ -270,8 +270,8 @@ $ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out rel
@@ -280,7 +280,7 @@ $ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out rel
- :{{ bufferline.date | date:'mm' }}
+ :
|
|
diff --git a/js/models.js b/js/models.js
index 70d3618..bfada31 100644
--- a/js/models.js
+++ b/js/models.js
@@ -28,12 +28,12 @@ models.service('models', ['$rootScope', '$filter', function($rootScope, $filter)
var lastSeen = -1;
var serverSortKey = fullName.replace(/^irc.server.(\w+)/, "irc.$1");
- var indent = function(predicate) {
+ var indentedName = function(predicate) {
if( predicate == "serverSortKey" && fullName.match(/^irc./) && !fullName.match(/^irc.server./) ) {
// indent channel
- return " "; // four protected spaces
+ return " " + shortName; // four protected spaces
} else {
- return "";
+ return shortName;
}
};
@@ -173,7 +173,7 @@ models.service('models', ['$rootScope', '$filter', function($rootScope, $filter)
updateNick: updateNick,
flatNicklist: flatNicklist,
serverSortKey: serverSortKey,
- indent: indent,
+ indentedName: indentedName,
history: history,
addToHistory: addToHistory,
getHistoryUp: getHistoryUp,