Fix bug.
This commit is contained in:
parent
e31bc35d5c
commit
c59a4026c2
|
@ -8,7 +8,7 @@
|
||||||
<div class="thead row">
|
<div class="thead row">
|
||||||
<div class="col-sm-2 date-thead">上傳日期</div>
|
<div class="col-sm-2 date-thead">上傳日期</div>
|
||||||
<div class="col-sm-3 title-thead">標題</div>
|
<div class="col-sm-3 title-thead">標題</div>
|
||||||
<div class="col-sm-3 description-thead" style="border-right: 0.05em solid #333;">{{description-head}}</div>
|
<div class="col-sm-3 description-thead">{{description-head}}</div>
|
||||||
<div class="col-sm-2 file-thead">檔案下載</div>
|
<div class="col-sm-2 file-thead">檔案下載</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tbody">
|
<div class="tbody">
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
<span class="i-archive__status label status {{status-class}}">{{status}}</span>
|
<span class="i-archive__status label status {{status-class}}">{{status}}</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="description col-sm-3">{{description}}</div>
|
<div class="description col-sm-3" style="border-right: 0.05em solid #333;">{{description}}</div>
|
||||||
<div class="i-archive__file-list col-sm-2" data-list="files" data-level="2">
|
<div class="i-archive__file-list col-sm-2" data-list="files" data-level="2">
|
||||||
<a href="{{file-url}}" class="i-archive-files-item" target="_blank" data-toggle="tooltip" data-placement="bottom" title="{{file-name}}"><span class="label label-primary">{{file-type}}</span></a>
|
<a href="{{file-url}}" class="i-archive-files-item" target="_blank" data-toggle="tooltip" data-placement="bottom" title="{{file-name}}"><span class="label label-primary">{{file-type}}</span></a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -39,4 +39,7 @@ if( window.location.href.indexOf('/en/') > -1 ) {
|
||||||
$('.title-thead').replaceWith('<div class="col-sm-7 title-thead-en">Title</div>')
|
$('.title-thead').replaceWith('<div class="col-sm-7 title-thead-en">Title</div>')
|
||||||
$('.file-thead').replaceWith('<div class="col-sm-3 file-thead-en">Download file</div>')
|
$('.file-thead').replaceWith('<div class="col-sm-3 file-thead-en">Download file</div>')
|
||||||
}
|
}
|
||||||
|
$(".archive-items .date").each(function(i,d){
|
||||||
|
$(d).parent().eq(0).children().height($(d).parent().height());
|
||||||
|
})
|
||||||
</script>
|
</script>
|
Loading…
Reference in New Issue