add clickable comment targets
Cette révision appartient à :
Parent
260e5bab46
révision
fd976fc7e0
3 fichiers modifiés avec 17 ajouts et 4 suppressions
|
@ -187,3 +187,9 @@ div.container div.blockBody:nth-of-type(2) table tr:first-of-type th:last-of-typ
|
||||||
.navbar {
|
.navbar {
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
:target {
|
||||||
|
background-color: #585b4f;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -191,4 +191,8 @@ div.container div.blockBody:nth-of-type(2) table tr:first-of-type th:last-of-typ
|
||||||
.navbar-nav>li>a.profile-image {
|
.navbar-nav>li>a.profile-image {
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:target {
|
||||||
|
background-color: #e5eecc;
|
||||||
|
}
|
||||||
|
|
|
@ -47,9 +47,12 @@
|
||||||
<td>Comments</td>
|
<td>Comments</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
{{ range .Comments }}
|
{{ range $index, $element := .Comments }}
|
||||||
<tr class="comment-row">
|
<tr class="comment-row" id="comment_{{$index}}">
|
||||||
<td>{{.Username}}</td>
|
<td>
|
||||||
|
<a href="#comment_{{$index}}">{{$index}}</a>
|
||||||
|
{{.Username}}
|
||||||
|
</td>
|
||||||
<td>{{.Content}}</td>
|
<td>{{.Content}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Référencer dans un nouveau ticket