+
+
+
+
+
+
+
+
+ | {{ctx.Locale.Tr "admin.signed_contributor_agreements.user"}} |
+ {{ctx.Locale.Tr "admin.signed_contributor_agreements.signed_at"}} |
+ {{ctx.Locale.Tr "admin.signed_contributor_agreements.slug"}} |
+ {{ctx.Locale.Tr "admin.signed_contributor_agreements.comment"}} |
+
+
+
+ {{range .SignedContributorAgreements}}
+
+ |
+
+ {{(index $.UserMap .UserID).Name}}
+
+ ({{(index $.UserMap .UserID).Email}})
+ |
+ {{DateUtils.AbsoluteShort .CreatedUnix}} |
+ {{index $.ContributorAgreementsLookup .ContributorAgreementID}} |
+ {{.Comment}} |
+
+ {{end}}
+
+
+
+ {{template "base/paginate" .}}
+
+
+{{template "admin/layout_footer" .}}
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index ef0d607e3d9d3..92fe29bcdddb9 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -20199,6 +20199,42 @@
}
}
},
+ "/users/{username}/contributor-agreements/{slug}": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "user"
+ ],
+ "summary": "Check if contributor agreement is signed by the user",
+ "operationId": "userCheckContributorAgreement",
+ "parameters": [
+ {
+ "type": "string",
+ "description": "username of user",
+ "name": "username",
+ "in": "path",
+ "required": true
+ },
+ {
+ "type": "string",
+ "description": "slug of a contributor agreement to check",
+ "name": "slug",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "$ref": "#/responses/string"
+ },
+ "404": {
+ "$ref": "#/responses/notFound"
+ }
+ }
+ }
+ },
"/users/{username}/followers": {
"get": {
"produces": [
diff --git a/templates/user/settings/contributor_agreements.tmpl b/templates/user/settings/contributor_agreements.tmpl
new file mode 100644
index 0000000000000..3d621c2d1898a
--- /dev/null
+++ b/templates/user/settings/contributor_agreements.tmpl
@@ -0,0 +1,45 @@
+{{template "user/settings/layout_head" (dict "ctxData" . "pageClass" "user settings contributor-agreements")}}
+