1
0
Fork 0
This commit is contained in:
Unknown 2014-03-28 09:06:48 -04:00
parent cb05b8325c
commit 76b8642348
3 changed files with 12 additions and 0 deletions

View file

@ -510,6 +510,7 @@ func NotifyWatchers(act *Action) error {
continue
}
act.Id = 0
act.UserId = watches[i].UserId
if _, err = orm.InsertOne(act); err != nil {
return errors.New("repo.NotifyWatchers(create action): " + err.Error())

View file

@ -22,6 +22,7 @@ func Install(ctx *middleware.Context) {
ctx.Data["DbCfg"] = models.DbCfg
ctx.Data["RepoRootPath"] = base.RepoRootPath
ctx.Data["RunUser"] = base.RunUser
ctx.Data["AppUrl"] = base.AppUrl
ctx.Data["PageIsInstall"] = true
if ctx.Req.Method == "GET" {

View file

@ -83,6 +83,7 @@
<p class="help-block">The git copy of each repository is saved in this directory.</p>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">Run User: </label>
@ -91,6 +92,15 @@
<p class="help-block">The user has access to visit and run Gogs.</p>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">App URL: </label>
<div class="col-md-8">
<input name="app_url" type="text" class="form-control" placeholder="Type app root URL " value="{{.AppUrl}}" required="required">
<p class="help-block">This affects HTTP/HTTPS clone URL and somewhere in e-mail.</p>
</div>
</div>
<hr/>