mirror of
https://github.com/gogs/gogs.git
synced 2025-12-24 01:00:00 +01:00
user/dashboard: hide More button if reached end on first load
This commit is contained in:
2
gogs.go
2
gogs.go
@@ -16,7 +16,7 @@ import (
|
|||||||
"github.com/gogits/gogs/modules/setting"
|
"github.com/gogits/gogs/modules/setting"
|
||||||
)
|
)
|
||||||
|
|
||||||
const APP_VER = "0.10.24.0319"
|
const APP_VER = "0.10.24.0320"
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
setting.AppVer = APP_VER
|
setting.AppVer = APP_VER
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
0.10.24.0319
|
0.10.24.0320
|
||||||
@@ -5,7 +5,9 @@
|
|||||||
<div class="ui grid">
|
<div class="ui grid">
|
||||||
<div class="ten wide column">
|
<div class="ten wide column">
|
||||||
{{template "user/dashboard/feeds" .}}
|
{{template "user/dashboard/feeds" .}}
|
||||||
<button class="ui fluid basic button center ajax-load-button" data-url="{{.Link}}?after_id={{.AfterID}}">More</button>
|
{{if .AfterID}}
|
||||||
|
<button class="ui fluid basic button center ajax-load-button" data-url="{{.Link}}?after_id={{.AfterID}}">More</button>
|
||||||
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
<div class="six wide column">
|
<div class="six wide column">
|
||||||
<div class="ui {{if not .ContextUser.IsOrganization}}three{{else}}two{{end}} item tabable menu">
|
<div class="ui {{if not .ContextUser.IsOrganization}}three{{else}}two{{end}} item tabable menu">
|
||||||
|
|||||||
Reference in New Issue
Block a user