fix IRC integration

pull/83/head
Thibault Duplessis 2014-02-01 20:49:11 +01:00
parent 2f662ddc35
commit 81682fdb49
3 changed files with 10 additions and 1 deletions

View File

@ -93,6 +93,7 @@ private[team] case class TeamEdit(
irc: Int) {
def isOpen = open == 1
def hasIrc = irc == 1
def trim = copy(
location = location map (_.trim) filter (_.nonEmpty),

View File

@ -47,7 +47,7 @@ final class TeamApi(
team.copy(
location = e.location,
description = e.description,
open = e.isOpen
open = e.isOpen,
irc = e.hasIrc) |> { team $update(team) >>- (indexer ! InsertTeam(team)) }
}

View File

@ -0,0 +1,8 @@
div.irc_box iframe {
width: 100%;
height: 500px;
}
ul.channels li {
text-indent: 1em;
}