fix IRC integration
parent
2f662ddc35
commit
81682fdb49
|
@ -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),
|
||||
|
|
|
@ -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)) }
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
div.irc_box iframe {
|
||||
width: 100%;
|
||||
height: 500px;
|
||||
}
|
||||
|
||||
ul.channels li {
|
||||
text-indent: 1em;
|
||||
}
|
Loading…
Reference in New Issue