| | |
| | | }
|
| | |
|
| | | // add all mailing lists defined in gitblit.properties or web.xml
|
| | | toAddresses.addAll(gitblit.getStrings(Keys.mail.mailingLists))
|
| | | toAddresses.addAll(GitBlit.getStrings(Keys.mail.mailingLists))
|
| | |
|
| | | // add all team mailing lists
|
| | | def teams = gitblit.getRepositoryTeams(repository)
|
| | |
| | | builder.style(type:"text/css", '''
|
| | | .table td {
|
| | | vertical-align: middle;
|
| | | }
|
| | | tr.noborder td {
|
| | | border: none;
|
| | | padding-top: 0px;
|
| | | }
|
| | | .gravatar-column {
|
| | | width: 5%;
|
| | |
| | | writeCommit(commit)
|
| | |
|
| | | // Write detail on that particular commit
|
| | | tr {
|
| | | tr('class' : 'noborder') {
|
| | | td (colspan: includeGravatar ? 3 : 2)
|
| | | td (colspan:2) { writeStatusTable(commit) }
|
| | | }
|
| | |
| | | writeStatusLabel("addition", "addition")
|
| | | }
|
| | | builder.td {
|
| | | a(href:blobDiffUrl(id, header.newPath)) { span(style:'font-family: monospace;', header.newPath) }
|
| | | a(href:blobDiffUrl(id, header.newPath), header.newPath)
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | writeStatusLabel("rename", "rename")
|
| | | }
|
| | | builder.td() {
|
| | | a(href:blobDiffUrl(id, header.newPath)) { span(style : "font-family: monospace; ", header.oldPath + " copied to " + header.newPath) }
|
| | | a(href:blobDiffUrl(id, header.newPath), header.oldPath + " copied to " + header.newPath)
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | writeStatusLabel("deletion", "deletion")
|
| | | }
|
| | | builder.td() {
|
| | | a(href:blobDiffUrl(id, header.oldPath)) { span(style : "font-family: monospace; ", header.oldPath) }
|
| | | a(href:blobDiffUrl(id, header.oldPath), header.oldPath)
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | writeStatusLabel("modification", "modification")
|
| | | }
|
| | | builder.td() {
|
| | | a(href:blobDiffUrl(id, header.oldPath)) { span(style : "font-family: monospace; ", header.oldPath) }
|
| | | a(href:blobDiffUrl(id, header.oldPath), header.oldPath)
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | writeStatusLabel("rename", "rename")
|
| | | }
|
| | | builder.td() {
|
| | | a(href:blobDiffUrl(id, header.newPath)) { span(style : "font-family: monospace; ", header.olPath + " -> " + header.newPath) }
|
| | | a(href:blobDiffUrl(id, header.newPath), header.olPath + " -> " + header.newPath)
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | head {
|
| | | link(rel:"stylesheet", href:"${url}/bootstrap/css/bootstrap.css")
|
| | | link(rel:"stylesheet", href:"${url}/gitblit.css")
|
| | | link(rel:"stylesheet", href:"${url}/bootstrap/css/bootstrap-responsive.css")
|
| | | writeStyle()
|
| | | }
|
| | | body {
|
| | |
| | | mailWriter.forwardSlashChar = forwardSlashChar
|
| | | mailWriter.commands = commands
|
| | | mailWriter.url = url
|
| | | mailWriter.mountParameters = gitblit.getBoolean(Keys.web.mountParameters, true)
|
| | | mailWriter.includeGravatar = gitblit.getBoolean(Keys.web.allowGravatar, true)
|
| | | mailWriter.mountParameters = GitBlit.getBoolean(Keys.web.mountParameters, true)
|
| | | mailWriter.includeGravatar = GitBlit.getBoolean(Keys.web.allowGravatar, true)
|
| | | mailWriter.shortCommitIdLength = GitBlit.getInteger(Keys.web.shortCommitIdLength, 8)
|
| | |
|
| | | def content = mailWriter.write()
|