Minor fix for #2444

This commit is contained in:
Unknwon committed 2016-02-01 20:55:12 -05:00
1 parent d3ba246693
commit 1c74612b3c
9 files changed
+26 -15

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra
![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true)
##### Current version: 0.8.26
##### Current version: 0.8.27
| Web | UI | Preview |
|:-------------:|:-------:|:-------:|
+1
View File
@@ -493,6 +493,7 @@ issues.label_modify = Label Modification
issues.label_deletion = Label Deletion
issues.label_deletion_desc = Deleting this label will remove its information in all related issues. Do you want to continue?
issues.label_deletion_success = Label has been deleted successfully!
issues.num_participants = %d Participants
pulls.new = New Pull Request
pulls.compare_changes = Compare Changes
+1 -1
View File
@@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
const APP_VER = "0.8.26.0201"
const APP_VER = "0.8.27.0201"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
+2 -2
View File
@@ -4322,7 +4322,7 @@ func confLocaleLocale_deDeIni() (*asset, error) {
return a, nil
}
var _confLocaleLocale_enUsIni = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xbc\x7d\xeb\x72\xdc\x48\xae\xe6\x7f\x3e\x05\xdb\x13\x0e\xdb\x11\x72\x39\x7a\xfa\xec\x25\x3a\xda\xdd\x2b\x4b\xed\xcb\x39\x96\xa5\x63\xc9\xdd\x3b\xdb\xe1\x60\xb3\x8a\xac\x2a\x8e\xab\xc8\x1a\x92\x25\x59\x33\x31\x6f\xb0\x0f\xb0\xcf\xb7\x4f\xb2\xc0\x07\x20\x2f\x24\x4b\xb2\x67\x26\xd6\x3f\x2c\x56\x26\xf2\x8e\x44\x02\x48\x00\x99\xef\x76\x59\x51\x76\x8b\xf4\x79\x7a\x9c\xee\xf2\xaa\xde\x94\x5d\x97\x76\xe5\x66\xf9\x74\xdd\x74\x7d\x59\xa4\xaf\xaa\x9e\x7e\xb7\xd7\xd5\xa2\x4c\x92\x75\xb3\x2d\x09\xf4\x35\xfd\x49\x8a\xbc\x5b\xcf\x9b\xbc\x2d\x28\xe1\xd4\xbe\x93\xf2\xf3\x6e\xd3\xb4\x0c\xf4\xb3\x7c\x25\xeb\x72\xb3\xe3\x32\xf4\x27\xe9\xaa\x55\x9d\x55\x35\xfd\xbc\xa4\xaf\xf4\x4d\x2d\x29\xcd\xbe\xb7\xa4\xf3\x7d\x2f\x69\xfb\x9d\x25\x7d\xd8\x25\x6d\xb9\xaa\xa8\x37\x2d\x25\xbd\xd7\xcf\xe4\xa6\x9c\x77\x55\xcf\x2d\xfd\x2a\x5f\xc9\x75\xd9\x76\x55\xc3\xb5\xff\x22\x5f\xc9\x2e\x5f\x31\xc0\x05\xfd\x49\xfa\x72\xbb\xdb\xe4\x28\x70\xa5\x9f\xc9\x26\xaf\x57\x7b\x81\x79\xab\x9f\xc9\xa2\x2d\x29\x2b\xab\xcb\x1b\x4a\x3d\xc1\x8f\xd9\x6c\x96\xec\x69\x12\xb2\x5d\xdb\x2c\xab\x4d\x99\xe5\x75\x91\x6d\x65\x98\x1f\x28\x3d\xd5\xf4\x94\xd2\x53\x4e\xc7\x10\xca\x82\x86\x9a\xe5\x9d\x8e\x83\xe6\x92\x46\x9e\x77\x09\xaa\xaa\xf3\xad\x95\xe6\xcf\xa4\xdc\xe6\xd5\x86\x67\x8d\xff\x52\xbf\xbb\xee\xa6\xc1\xd4\x5e\xe8\x27\xcd\x41\xd6\xdf\xee\x4a\x4c\xc1\xd3\x2b\xfa\x4a\x16\xf9\xae\x5f\xac\x73\xee\xa6\x7c\x25\x04\xb4\x6b\x68\x2e\x9a\xf6\x16\x70\xf6\x23\x69\xda\x55\x5e\x57\x7f\xcd\x7b\x99\x9f\xf3\xe0\x67\xb2\xad\xda\xb6\xe1\xa9\x3d\xc3\x47\x42\x23\xcf\xb8\x1e\x4a\x79\x47\x93\x10\xd4\xc2\x39\xdb\x6a\xd5\xca\x2c\x72\xe6\x19\x7e\x71\x2d\x92\xa7\x35\x49\x96\xab\x6d\xd9\xb4\x9f\x34\xf5\x25\x7f\x0e\xaa\xa4\xce\x69\x6e\xdc\xaf\xbc\xa6\xf5\xd0\xdc\x33\xfc\x88\x00\xba\x24\x2f\xb6\x34\xc3\xbb\xbc\x2e\x79\xea\x8e\xf9\x17\xcd\x17\xfd\x4a\xf2\xc5\xa2\xd9\xd7\x7d\xd6\x95\x7d\x5f\xd5\x2b\x5e\x83\x63\x49\x4a\x2f\x35\x29\x09\xf2\x5c\xda\x6d\xb3\x77\xab\x4c\xe9\x7f\xa2\x9f\xe9\x85\xfc\x94\xbc\xa0\x10\x32\x5d\x49\x1e\x49\x97\x2d\xcb\xb2\x90\xb1\x74\xe9\x4b\xfa\x4e\x76\xfb\xcd\x86\x66\xf3\x2f\xfb\xb2\xeb\xb9\xd0\x05\xfd\xa6\xf1\xcb\xef\xa4\xea\x3a\xfa\xa0\xe4\x37\xf8\x48\x68\x49\xeb\x05\x06\x73\x82\x8f\x24\xf9\xad\x2b\xf3\x76\xb1\xfe\x98\xc8\x5f\xf4\x95\x3f\x18\x25\x0f\x2d\x36\xe3\x97\xe2\x96\xb4\x60\x0d\x24\x8b\xa6\xe0\x1f\x27\xf4\x87\xaa\xae\xea\xae\xcf\x37\x9b\x8f\x89\x7e\x30\x98\x7c\xc9\x02\xf4\x55\x8f\x59\xd0\xc4\xf4\xb2\x2f\x77\x1d\xaf\x60\xfa\xb2\x6a\xbb\xfe\x69\x5f\x11\x0e\xbf\xdf\xd7\x49\xd1\x2c\x3e\xd1\xee\xe0\x9d\x8e\x96\xdf\x2c\x53\x9a\xac\x47\xb4\x3f\xda\x7d\x5d\xd3\xf4\xa4\xaf\x1a\x9a\x32\x6a\xa6\xa2\xf6\x4f\x01\x7d\x94\xee\x36\x65\xde\x11\x48\x99\x17\xe9\x0f\x79\xda\xe7\xed\xaa\xec\x9f\x3f\xc8\xe6\xb4\x2b\x3f\x3d\x48\xd7\x6d\xb9\x7c\xfe\xe0\x61\xf7\xe0\xc7\x57\x7b\x2a\xb6\xa9\xea\xb2\xfb\xe1\x59\xfe\x63\xba\xc8\x29\x87\xa6\xf1\x36\x9d\x97\x4b\xde\x84\xd4\x56\x4a\xd8\x5f\xaf\x78\x03\xde\xf6\x6b\x6e\x90\x30\x81\x3e\xba\x94\x29\xc0\x37\x09\x2f\x00\x51\x88\xac\x98\x1b\xb5\x43\x87\x90\xdc\xd2\x02\x9c\xdd\x5e\xfe\xe7\xdb\xa3\xf4\x82\x48\xde\xaa\x2d\xf1\x4d\xff\x51\x89\xef\x52\x1a\xed\x55\x75\xfa\x62\x96\x50\x59\x9b\x90\xd3\xbc\xcf\xe7\xdc\x77\xb7\xfa\x9c\x29\x9b\xd3\xe5\x61\x8b\x32\x11\x05\xc1\xec\xfa\x68\x59\xa6\x36\x38\xd5\xa1\x54\xc1\xd5\xf1\x8e\x49\x03\xa5\xbb\x99\xbd\x90\x39\xa3\xaa\xd2\x37\xef\xde\x9d\x9f\xbe\x48\xcb\x7a\x45\x33\x93\xde\x54\xfd\x3a\xdd\xf7\xcb\xff\x9e\xad\xca\xba\x6c\xf3\x4d\xb6\xa8\x78\x52\x5a\x42\xd8\x94\x66\x49\x86\x38\x4b\xba\x6e\x43\x94\x0b\x58\x70\x79\xf9\x36\x3d\x63\x4c\xd8\xe5\xfd\x1a\x1d\xe9\xd7\x49\xf7\x97\x0d\x4f\x94\x6b\xf0\x6a\x5d\xa6\xd8\x0c\x00\x6a\x96\xc3\x79\x49\x0b\xed\xeb\x2c\x29\xdb\x36\x23\xc2\xda\xdf\xf2\x34\x6b\x9d\x87\xa0\xa5\x3a\xc2\xf6\xba\xe9\x69\x19\x53\x94\x93\x2a\xaa\xfa\x3a\xdf\x54\x05\x4d\xb6\x9f\x90\xb8\x2c\x12\x8b\x86\xd6\x8d\x4b\x13\x66\x36\x37\x18\x6a\xbe\xa0\x73\xa1\x4b\x1f\xcc\x1e\x80\x10\x3f\x78\xfa\x60\x96\xd4\x4d\x26\x54\x82\x49\x76\x51\x75\xf9\x9c\xc8\xb7\x1c\x27\xad\x51\xc3\x3f\x31\xfe\x48\x57\x14\x22\x8d\x20\x78\x6e\xf9\x88\xc2\xc9\xc0\xc8\x95\x13\x1d\x07\xb1\x51\x32\x13\x8e\xdd\x68\x92\x5b\x5f\x21\x4b\x2e\x61\x34\xe6\xc4\x16\xcc\xb0\xeb\x78\xb7\xdb\x54\x0b\x69\xfa\x95\xe4\x79\x44\xe3\x03\x5b\x27\x25\x84\x03\xa2\x58\x5e\x80\x2e\xd4\x6b\x26\x5b\x69\x44\xff\x51\x7e\x5d\xd2\xce\x59\xef\x57\x72\x68\x6d\x9a\x7d\xf1\x0d\x08\x8a\xad\x9c\xa7\x27\xe9\xfb\x86\x3a\x0c\xec\x70\x00\xbe\x89\x63\x22\x0c\xcc\x23\xb4\xe5\xb6\xe9\x79\xe2\xb4\x58\x45\xcb\x73\x53\x51\x26\x8d\xb4\xcb\xaf\x89\x2c\xf6\x8d\x6c\xc9\x82\xb6\xdc\x82\x2b\x26\x0a\xb6\xa7\x83\x5e\xb6\x05\xd1\x11\xd9\x1a\x96\x16\xe3\x20\xa0\xb6\x7b\xda\x4d\x6b\xaa\x8c\x27\x9e\x19\x15\xaa\x72\xaa\x9f\x18\x12\xd5\x83\x5d\x4e\x3b\xb7\xa1\x43\x95\x17\xfa\x14\x1f\xfa\x3b\xac\x9f\x7a\x95\x2f\x97\xd4\xab\x8e\x76\xc5\xeb\x74\xb1\x69\x68\x4b\x7d\x78\xff\xb6\xe3\x0d\xb3\xce\x76\x4d\x0b\x06\x85\xb2\x2e\xe8\xd3\xa5\x05\x13\xcd\x10\xf5\x7e\x3b\xa7\x5f\x37\xeb\x8a\x08\x35\xa6\x9d\x4b\x30\xf3\x44\xa9\xd4\xc4\xbe\xaLine truncated
var _confLocaleLocale_enUsIni = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xbc\x7d\xeb\x72\xdc\x48\xae\xe6\x7f\x3e\x05\xdb\x13\x0e\xdb\x11\x72\x39\x7a\xfa\xec\x25\x3a\xda\xdd\x2b\x4b\xed\xcb\x39\x96\xa5\x63\xc9\xdd\x3b\xdb\xe1\x60\xb3\x8a\xac\x2a\x8e\xab\xc8\x1a\x92\x25\x59\x33\x31\x6f\xb0\x0f\xb0\xcf\xb7\x4f\xb2\xc0\x07\x20\x2f\x24\x4b\xb2\x67\x26\xd6\x3f\x2c\x56\x26\xf2\x8e\x44\x02\x48\x00\x99\xef\x76\x59\x51\x76\x8b\xf4\x79\x7a\x9c\xee\xf2\xaa\xde\x94\x5d\x97\x76\xe5\x66\xf9\x74\xdd\x74\x7d\x59\xa4\xaf\xaa\x9e\x7e\xb7\xd7\xd5\xa2\x4c\x92\x75\xb3\x2d\x09\xf4\x35\xfd\x49\x8a\xbc\x5b\xcf\x9b\xbc\x2d\x28\xe1\xd4\xbe\x93\xf2\xf3\x6e\xd3\xb4\x0c\xf4\xb3\x7c\x25\xeb\x72\xb3\xe3\x32\xf4\x27\xe9\xaa\x55\x9d\x55\x35\xfd\xbc\xa4\xaf\xf4\x4d\x2d\x29\xcd\xbe\xb7\xa4\xf3\x7d\x2f\x69\xfb\x9d\x25\x7d\xd8\x25\x6d\xb9\xaa\xa8\x37\x2d\x25\xbd\xd7\xcf\xe4\xa6\x9c\x77\x55\xcf\x2d\xfd\x2a\x5f\xc9\x75\xd9\x76\x55\xc3\xb5\xff\x22\x5f\xc9\x2e\x5f\x31\xc0\x05\xfd\x49\xfa\x72\xbb\xdb\xe4\x28\x70\xa5\x9f\xc9\x26\xaf\x57\x7b\x81\x79\xab\x9f\xc9\xa2\x2d\x29\x2b\xab\xcb\x1b\x4a\x3d\xc1\x8f\xd9\x6c\x96\xec\x69\x12\xb2\x5d\xdb\x2c\xab\x4d\x99\xe5\x75\x91\x6d\x65\x98\x1f\x28\x3d\xd5\xf4\x94\xd2\x53\x4e\xc7\x10\xca\x82\x86\x9a\xe5\x9d\x8e\x83\xe6\x92\x46\x9e\x77\x09\xaa\xaa\xf3\xad\x95\xe6\xcf\xa4\xdc\xe6\xd5\x86\x67\x8d\xff\x52\xbf\xbb\xee\xa6\xc1\xd4\x5e\xe8\x27\xcd\x41\xd6\xdf\xee\x4a\x4c\xc1\xd3\x2b\xfa\x4a\x16\xf9\xae\x5f\xac\x73\xee\xa6\x7c\x25\x04\xb4\x6b\x68\x2e\x9a\xf6\x16\x70\xf6\x23\x69\xda\x55\x5e\x57\x7f\xcd\x7b\x99\x9f\xf3\xe0\x67\xb2\xad\xda\xb6\xe1\xa9\x3d\xc3\x47\x42\x23\xcf\xb8\x1e\x4a\x79\x47\x93\x10\xd4\xc2\x39\xdb\x6a\xd5\xca\x2c\x72\xe6\x19\x7e\x71\x2d\x92\xa7\x35\x49\x96\xab\x6d\xd9\xb4\x9f\x34\xf5\x25\x7f\x0e\xaa\xa4\xce\x69\x6e\xdc\xaf\xbc\xa6\xf5\xd0\xdc\x33\xfc\x88\x00\xba\x24\x2f\xb6\x34\xc3\xbb\xbc\x2e\x79\xea\x8e\xf9\x17\xcd\x17\xfd\x4a\xf2\xc5\xa2\xd9\xd7\x7d\xd6\x95\x7d\x5f\xd5\x2b\x5e\x83\x63\x49\x4a\x2f\x35\x29\x09\xf2\x5c\xda\x6d\xb3\x77\xab\x4c\xe9\x7f\xa2\x9f\xe9\x85\xfc\x94\xbc\xa0\x10\x32\x5d\x49\x1e\x49\x97\x2d\xcb\xb2\x90\xb1\x74\xe9\x4b\xfa\x4e\x76\xfb\xcd\x86\x66\xf3\x2f\xfb\xb2\xeb\xb9\xd0\x05\xfd\xa6\xf1\xcb\xef\xa4\xea\x3a\xfa\xa0\xe4\x37\xf8\x48\x68\x49\xeb\x05\x06\x73\x82\x8f\x24\xf9\xad\x2b\xf3\x76\xb1\xfe\x98\xc8\x5f\xf4\x95\x3f\x18\x25\x0f\x2d\x36\xe3\x97\xe2\x96\xb4\x60\x0d\x24\x8b\xa6\xe0\x1f\x27\xf4\x87\xaa\xae\xea\xae\xcf\x37\x9b\x8f\x89\x7e\x30\x98\x7c\xc9\x02\xf4\x55\x8f\x59\xd0\xc4\xf4\xb2\x2f\x77\x1d\xaf\x60\xfa\xb2\x6a\xbb\xfe\x69\x5f\x11\x0e\xbf\xdf\xd7\x49\xd1\x2c\x3e\xd1\xee\xe0\x9d\x8e\x96\xdf\x2c\x53\x9a\xac\x47\xb4\x3f\xda\x7d\x5d\xd3\xf4\xa4\xaf\x1a\x9a\x32\x6a\xa6\xa2\xf6\x4f\x01\x7d\x94\xee\x36\x65\xde\x11\x48\x99\x17\xe9\x0f\x79\xda\xe7\xed\xaa\xec\x9f\x3f\xc8\xe6\xb4\x2b\x3f\x3d\x48\xd7\x6d\xb9\x7c\xfe\xe0\x61\xf7\xe0\xc7\x57\x7b\x2a\xb6\xa9\xea\xb2\xfb\xe1\x59\xfe\x63\xba\xc8\x29\x87\xa6\xf1\x36\x9d\x97\x4b\xde\x84\xd4\x56\x4a\xd8\x5f\xaf\x78\x03\xde\xf6\x6b\x6e\x90\x30\x81\x3e\xba\x94\x29\xc0\x37\x09\x2f\x00\x51\x88\xac\x98\x1b\xb5\x43\x87\x90\xdc\xd2\x02\x9c\xdd\x5e\xfe\xe7\xdb\xa3\xf4\x82\x48\xde\xaa\x2d\xf1\x4d\xff\x51\x89\xef\x52\x1a\xed\x55\x75\xfa\x62\x96\x50\x59\x9b\x90\xd3\xbc\xcf\xe7\xdc\x77\xb7\xfa\x9c\x29\x9b\xd3\xe5\x61\x8b\x32\x11\x05\xc1\xec\xfa\x68\x59\xa6\x36\x38\xd5\xa1\x54\xc1\xd5\xf1\x8e\x49\x03\xa5\xbb\x99\xbd\x90\x39\xa3\xaa\xd2\x37\xef\xde\x9d\x9f\xbe\x48\xcb\x7a\x45\x33\x93\xde\x54\xfd\x3a\xdd\xf7\xcb\xff\x9e\xad\xca\xba\x6c\xf3\x4d\xb6\xa8\x78\x52\x5a\x42\xd8\x94\x66\x49\x86\x38\x4b\xba\x6e\x43\x94\x0b\x58\x70\x79\xf9\x36\x3d\x63\x4c\xd8\xe5\xfd\x1a\x1d\xe9\xd7\x49\xf7\x97\x0d\x4f\x94\x6b\xf0\x6a\x5d\xa6\xd8\x0c\x00\x6a\x96\xc3\x79\x49\x0b\xed\xeb\x2c\x29\xdb\x36\x23\xc2\xda\xdf\xf2\x34\x6b\x9d\x87\xa0\xa5\x3a\xc2\xf6\xba\xe9\x69\x19\x53\x94\x93\x2a\xaa\xfa\x3a\xdf\x54\x05\x4d\xb6\x9f\x90\xb8\x2c\x12\x8b\x86\xd6\x8d\x4b\x13\x66\x36\x37\x18\x6a\xbe\xa0\x73\xa1\x4b\x1f\xcc\x1e\x80\x10\x3f\x78\xfa\x60\x96\xd4\x4d\x26\x54\x82\x49\x76\x51\x75\xf9\x9c\xc8\xb7\x1c\x27\xad\x51\xc3\x3f\x31\xfe\x48\x57\x14\x22\x8d\x20\x78\x6e\xf9\x88\xc2\xc9\xc0\xc8\x95\x13\x1d\x07\xb1\x51\x32\x13\x8e\xdd\x68\x92\x5b\x5f\x21\x4b\x2e\x61\x34\xe6\xc4\x16\xcc\xb0\xeb\x78\xb7\xdb\x54\x0b\x69\xfa\x95\xe4\x79\x44\xe3\x03\x5b\x27\x25\x84\x03\xa2\x58\x5e\x80\x2e\xd4\x6b\x26\x5b\x69\x44\xff\x51\x7e\x5d\xd2\xce\x59\xef\x57\x72\x68\x6d\x9a\x7d\xf1\x0d\x08\x8a\xad\x9c\xa7\x27\xe9\xfb\x86\x3a\x0c\xec\x70\x00\xbe\x89\x63\x22\x0c\xcc\x23\xb4\xe5\xb6\xe9\x79\xe2\xb4\x58\x45\xcb\x73\x53\x51\x26\x8d\xb4\xcb\xaf\x89\x2c\xf6\x8d\x6c\xc9\x82\xb6\xdc\x82\x2b\x26\x0a\xb6\xa7\x83\x5e\xb6\x05\xd1\x11\xd9\x1a\x96\x16\xe3\x20\xa0\xb6\x7b\xda\x4d\x6b\xaa\x8c\x27\x9e\x19\x15\xaa\x72\xaa\x9f\x18\x12\xd5\x83\x5d\x4e\x3b\xb7\xa1\x43\x95\x17\xfa\x14\x1f\xfa\x3b\xac\x9f\x7a\x95\x2f\x97\xd4\xab\x8e\x76\xc5\xeb\x74\xb1\x69\x68\x4b\x7d\x78\xff\xb6\xe3\x0d\xb3\xce\x76\x4d\x0b\x06\x85\xb2\x2e\xe8\xd3\xa5\x05\x13\xcd\x10\xf5\x7e\x3b\xa7\x5f\x37\xeb\x8a\x08\x35\xa6\x9d\x4b\x30\xf3\x44\xa9\xd4\xc4\xbe\xaLine truncated
func confLocaleLocale_enUsIniBytes() ([]byte, error) {
return bindataRead(
@@ -4337,7 +4337,7 @@ func confLocaleLocale_enUsIni() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "conf/locale/locale_en-US.ini", size: 48414, mode: os.FileMode(420), modTime: time.Unix(1453927621, 0)}
info := bindataFileInfo{name: "conf/locale/locale_en-US.ini", size: 48395, mode: os.FileMode(420), modTime: time.Unix(1454377194, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
+4
View File
@@ -1450,6 +1450,10 @@ footer .container .links > *:first-child {
.repository.view.issue .ui.segment.metas {
margin-top: -3px;
}
.repository.view.issue .ui.participants img {
margin-top: 5px;
margin-right: 5px;
}
.repository .comment.form .ui.comments {
margin-top: -12px;
max-width: 100%;
+7
View File
@@ -460,6 +460,13 @@
.ui.segment.metas {
margin-top: -3px;
}
.ui.participants {
img {
margin-top: 5px;
margin-right: 5px;
}
}
}
.comment.form {
.ui.comments {
+5 -3
View File
@@ -595,10 +595,11 @@ func ViewIssue(ctx *middleware.Context) {
ok bool
marked = make(map[int64]models.CommentTag)
comment *models.Comment
participants []*models.User
participants = make([]*models.User, 1, 10)
)
participants = append(participants, issue.Poster)
// Render comments. (and fetch participants)
// Render comments and and fetch participants.
participants[0] = issue.Poster
for _, comment = range issue.Comments {
if comment.Type == models.COMMENT_TYPE_COMMENT {
comment.RenderedContent = string(base.RenderMarkdown([]byte(comment.Content), ctx.Repo.RepoLink,
@@ -636,6 +637,7 @@ func ViewIssue(ctx *middleware.Context) {
}
ctx.Data["Participants"] = participants
ctx.Data["NumParticipants"] = len(participants)
ctx.Data["Issue"] = issue
ctx.Data["IsIssueOwner"] = ctx.Repo.IsAdmin() || (ctx.IsSigned && issue.IsPoster(ctx.User.Id))
ctx.Data["SignInLink"] = setting.AppSubUrl + "/user/login"
+1 -1
View File
@@ -1 +1 @@
0.8.26.0201
0.8.27.0201
+4 -7
View File
@@ -316,18 +316,15 @@
<div class="ui divider"></div>
<div class="ui participants floating jump">
<span class="text"><strong>{{len .Participants }} Participants</strong></span>
<div class="ui floating jump">
<div class="ui participants">
<span class="text"><strong>{{.i18n.Tr "repo.issues.num_participants" .NumParticipants}}</strong></span>
<div>
{{range .Participants}}
<a href="{{.HomeLink}}">
<img class="ui avatar image" src="{{.AvatarLink}}" data-content={{.FullName}}>
<img class="ui avatar image poping up" src="{{.AvatarLink}}" data-content="{{.DisplayName}}" data-position="top center" data-variation="small inverted">
</a>
{{end}}
</div>
<script>
$('.participants .ui.avatar.image').popup();
</script>
</div>
</div>
</div>