Fixed small issue with logs in table formatting
This commit is contained in:
parent
a3a7c4f66b
commit
a5e982f508
File diff suppressed because one or more lines are too long
@ -177,7 +177,7 @@
|
|||||||
<td>
|
<td>
|
||||||
<a href="/project/{{.id}}/{{.lastLog.version}}">{{.lastLog.version}}</a>
|
<a href="/project/{{.id}}/{{.lastLog.version}}">{{.lastLog.version}}</a>
|
||||||
</td>
|
</td>
|
||||||
<td title="{{.lastLog.log}}">{{#if .lastLog.log && .lastLog.length > 100}}{{.lastLog.log.substring(0,100)}}...{{else}}{{.lastLog.log}}{{/if}}</td>
|
<td title="{{.lastLog.log}}">{{#if .lastLog.log && .lastLog.log.length > 150}}{{.lastLog.log.substring(0,150)}}...{{else}}{{.lastLog.log}}{{/if}}</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="/project/{{.id}}/{{.releaseVersion}}">{{.releaseVersion}}</a>
|
<a href="/project/{{.id}}/{{.releaseVersion}}">{{.releaseVersion}}</a>
|
||||||
</td>
|
</td>
|
||||||
@ -213,7 +213,7 @@
|
|||||||
<a href="/project/{{project.id}}/{{.version}}">{{.version}}</a>
|
<a href="/project/{{project.id}}/{{.version}}">{{.version}}</a>
|
||||||
</td>
|
</td>
|
||||||
<td>{{.stage}}</td>
|
<td>{{.stage}}</td>
|
||||||
<td title="{{.log}}">{{#if .log && .log.length > 100}}{{.log.substring(0,100)}}...{{else}}{{.log}}{{/if}}</td>
|
<td title="{{.log}}">{{#if .log && .log.length > 150}}{{.log.substring(0,150)}}...{{else}}{{.log}}{{/if}}</td>
|
||||||
<td>
|
<td>
|
||||||
{{#if releases[project.id + .version]}}
|
{{#if releases[project.id + .version]}}
|
||||||
<a href="/release/{{project.id}}/{{.version}}?file">{{releases[project.id + .version].fileName}}</a>
|
<a href="/release/{{project.id}}/{{.version}}?file">{{releases[project.id + .version].fileName}}</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user