"github.com/gogits/gogs/modules/setting"
)
-const APP_VER = "0.5.13.0211 Beta"
+const APP_VER = "0.5.13.0212 Beta"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
"github.com/go-xorm/xorm"
_ "github.com/lib/pq"
- "github.com/gogits/gogs/models/migrations"
+ // "github.com/gogits/gogs/models/migrations"
"github.com/gogits/gogs/modules/setting"
)
return err
}
- if err = migrations.Migrate(x); err != nil {
- return err
- }
+ // if err = migrations.Migrate(x); err != nil {
+ // return err
+ // }
if err = x.StoreEngine("InnoDB").Sync2(tables...); err != nil {
return fmt.Errorf("sync database struct error: %v\n", err)
-0.5.13.0211 Beta
\ No newline at end of file
+0.5.13.0212 Beta
\ No newline at end of file
<button class="btn btn-green btn-large btn-radius">{{.i18n.Tr "sign_in"}}</button>
{{if not .IsSocialLogin}}<a href="{{AppSubUrl}}/user/forget_password">{{.i18n.Tr "auth.forget_password"}}</a>{{end}}
</div>
+ {{if .ShowRegistrationButton}}
<div class="field">
<label></label>
<a href="{{AppSubUrl}}/user/sign_up">{{.i18n.Tr "auth.sign_up_now" | Str2html}}</a>
</div>
+ {{end}}
{{if and (not .IsSocialLogin) .OauthEnabled}}
<hr/>
<div id="sign-social" class="text-center social-buttons">