Mercurial > hgrepos > hgweb.cgi > after5
comparison after5.rb @ 94:568f4c467966 draft
Group name length 12 is too short. Changed to 30.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sat, 30 Aug 2014 16:50:26 +0900 |
parents | 8ea193772cbd |
children | 4c6561489602 |
comparison
equal
deleted
inserted
replaced
93:8ea193772cbd | 94:568f4c467966 |
---|---|
2 # -*- coding: euc-jp -*- | 2 # -*- coding: euc-jp -*- |
3 # | 3 # |
4 # Associative Scheduling Table - after5 | 4 # Associative Scheduling Table - after5 |
5 # (C)2003, 2004, 2006, 2008, 2012-2014 by HIROSE Yuuji [yuuji<at>gentei.org] | 5 # (C)2003, 2004, 2006, 2008, 2012-2014 by HIROSE Yuuji [yuuji<at>gentei.org] |
6 # $Id: after5.rb,v 1.20 2012/12/03 15:54:20 yuuji Exp $ | 6 # $Id: after5.rb,v 1.20 2012/12/03 15:54:20 yuuji Exp $ |
7 # Last modified Sun Jul 13 09:11:49 2014 on firestorm | 7 # Last modified Sat Aug 30 16:49:33 2014 on firestorm |
8 # See http://www.gentei.org/~yuuji/software/after5/ | 8 # See http://www.gentei.org/~yuuji/software/after5/ |
9 # このスクリプトはEUCで保存してください。 | 9 # このスクリプトはEUCで保存してください。 |
10 $hgid = <<_HGID_.split[1..-2].join(" ") | 10 $hgid = <<_HGID_.split[1..-2].join(" ") |
11 $HGid$ | 11 $HGid$ |
12 _HGID_ | 12 _HGID_ |
3360 end | 3360 end |
3361 } | 3361 } |
3362 } + \ | 3362 } + \ |
3363 @H.element("td"){ | 3363 @H.element("td"){ |
3364 if ghash['admin'].grep(user)[0] | 3364 if ghash['admin'].grep(user)[0] |
3365 @H.text("groupname-#{g}", ghash['name'], nil, 12) | 3365 @H.text("groupname-#{g}", ghash['name'], nil, 30) |
3366 else | 3366 else |
3367 ghash['name'] | 3367 ghash['name'] |
3368 end + '<br>' + \ | 3368 end + '<br>' + \ |
3369 # If this group is inviteonly and the user is not a member, | 3369 # If this group is inviteonly and the user is not a member, |
3370 # one cannot join. | 3370 # one cannot join. |