aboutsummaryrefslogtreecommitdiff
path: root/routers/org
diff options
context:
space:
mode:
Diffstat (limited to 'routers/org')
-rw-r--r--routers/org/members.go6
-rw-r--r--routers/org/org.go4
-rw-r--r--routers/org/setting.go8
-rw-r--r--routers/org/teams.go10
4 files changed, 14 insertions, 14 deletions
diff --git a/routers/org/members.go b/routers/org/members.go
index edc0c76c..87686231 100644
--- a/routers/org/members.go
+++ b/routers/org/members.go
@@ -10,14 +10,14 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/models/errors"
- "github.com/gogits/gogs/pkg/base"
+ "github.com/gogits/gogs/pkg/tool"
"github.com/gogits/gogs/pkg/context"
"github.com/gogits/gogs/pkg/setting"
)
const (
- MEMBERS base.TplName = "org/member/members"
- MEMBER_INVITE base.TplName = "org/member/invite"
+ MEMBERS tool.TplName = "org/member/members"
+ MEMBER_INVITE tool.TplName = "org/member/invite"
)
func Members(ctx *context.Context) {
diff --git a/routers/org/org.go b/routers/org/org.go
index 07249db5..bedb3839 100644
--- a/routers/org/org.go
+++ b/routers/org/org.go
@@ -9,13 +9,13 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/pkg/form"
- "github.com/gogits/gogs/pkg/base"
+ "github.com/gogits/gogs/pkg/tool"
"github.com/gogits/gogs/pkg/context"
"github.com/gogits/gogs/pkg/setting"
)
const (
- CREATE base.TplName = "org/create"
+ CREATE tool.TplName = "org/create"
)
func Create(ctx *context.Context) {
diff --git a/routers/org/setting.go b/routers/org/setting.go
index 9a5331f4..966d5afe 100644
--- a/routers/org/setting.go
+++ b/routers/org/setting.go
@@ -11,7 +11,7 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/models/errors"
- "github.com/gogits/gogs/pkg/base"
+ "github.com/gogits/gogs/pkg/tool"
"github.com/gogits/gogs/pkg/context"
"github.com/gogits/gogs/pkg/form"
"github.com/gogits/gogs/pkg/setting"
@@ -19,9 +19,9 @@ import (
)
const (
- SETTINGS_OPTIONS base.TplName = "org/settings/options"
- SETTINGS_DELETE base.TplName = "org/settings/delete"
- SETTINGS_WEBHOOKS base.TplName = "org/settings/webhooks"
+ SETTINGS_OPTIONS tool.TplName = "org/settings/options"
+ SETTINGS_DELETE tool.TplName = "org/settings/delete"
+ SETTINGS_WEBHOOKS tool.TplName = "org/settings/webhooks"
)
func Settings(ctx *context.Context) {
diff --git a/routers/org/teams.go b/routers/org/teams.go
index ba40c6d4..54e2fe72 100644
--- a/routers/org/teams.go
+++ b/routers/org/teams.go
@@ -12,16 +12,16 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/models/errors"
- "github.com/gogits/gogs/pkg/base"
+ "github.com/gogits/gogs/pkg/tool"
"github.com/gogits/gogs/pkg/context"
"github.com/gogits/gogs/pkg/form"
)
const (
- TEAMS base.TplName = "org/team/teams"
- TEAM_NEW base.TplName = "org/team/new"
- TEAM_MEMBERS base.TplName = "org/team/members"
- TEAM_REPOSITORIES base.TplName = "org/team/repositories"
+ TEAMS tool.TplName = "org/team/teams"
+ TEAM_NEW tool.TplName = "org/team/new"
+ TEAM_MEMBERS tool.TplName = "org/team/members"
+ TEAM_REPOSITORIES tool.TplName = "org/team/repositories"
)
func Teams(ctx *context.Context) {