Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Hiboo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cyrinux
Hiboo
Commits
82892b26
Commit
82892b26
authored
5 years ago
by
kaiyou
Browse files
Options
Downloads
Patches
Plain Diff
Fix the avatar management code
parent
a7f5d86f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
hiboo/identity/templates/avatar_create.html
+14
-6
14 additions, 6 deletions
hiboo/identity/templates/avatar_create.html
hiboo/identity/templates/avatar_pick.html
+8
-11
8 additions, 11 deletions
hiboo/identity/templates/avatar_pick.html
with
22 additions
and
17 deletions
hiboo/identity/templates/avatar_create.html
+
14
−
6
View file @
82892b26
{% extends "base.html" %}
{% set service_name = service.name %}
{% block title %}{% trans %}Sign-up{% endtrans %}{% endblock %}
{% block subtitle %}{% trans service_name %}for the service {{ service_name }}{% endtrans %}{% endblock %}
{% block content %}
<div
class=
"box"
>
<div
class=
"box-body"
>
<p>
{% trans %}Your are about to sign up for {{ service.name }}{% endtrans %}.
</p>
</div>
{{ macros.form(form) }}
</div>
<p>
{% trans service_name %}Your are about to sign up for {{ service_name }}{% endtrans %}.
</p>
{{ macros.form(form) }}
{% call macros.help(_("The service that does not support profiles"), auto=utils.display_help("main")) %}
<p>
{% trans %}The service does not support profiles as alternate identities. You will thus simply need to signup.{% endtrans %}
</p>
<p>
{% trans %}The service will be able to access your current Hiboo username.{% endtrans %}
</p>
<p>
{% trans %}Depending on your settings, the service might also be able to send you notifications.
Hiboo will not directly communicate your email address or any notification destination to the service,
but opaque identifiers instead. Thus, you can set your notifications preferences at anytime
directly in Hiboo settings.{% endtrans %}
</p>
{% endcall %}
{% endblock %}
This diff is collapsed.
Click to expand it.
hiboo/identity/templates/avatar_pick.html
+
8
−
11
View file @
82892b26
{% extends "base.html" %}
{% block title %}{% trans %}Sign in{% endtrans %}{% endblock %}
{% set service_name = service.name %}
{% block title %}{% trans %}Sign-in{% endtrans %}{% endblock %}
{% block subtitle %}{% trans service_name %}for the service {{ service_name }}{% endtrans %}{% endblock %}
{% block content %}
<div
class=
"box"
>
<div
class=
"box-body"
>
<p>
{% trans %}Please confirm that you wish to sign in to {{ service.name }}.{% endtrans %}
</p>
</div>
<form
method=
"POST"
action=
"{{ utils.url_or_intent("
account.home
")
}}"
class=
"form"
>
{{ form.hidden_tag() }}
<input
type=
"hidden"
name=
"identity_uuid"
value=
"{{ avatar.uuid }}"
>
<input
type=
"submit"
value=
"Sign in"
class=
"btn btn-lg btn-flat bg-gray text-black"
>
</form>
</div>
<p>
{% trans service_name %}Your are about to sign in for {{ service_name }}{% endtrans %}.
</p>
<form
method=
"POST"
action=
"{{ utils.url_or_intent("
account.home
")
}}"
class=
"form"
>
{{ form.hidden_tag() }}
<input
type=
"hidden"
name=
"identity_uuid"
value=
"{{ avatar.uuid }}"
>
<input
type=
"submit"
value=
"Sign in as {{ current_user.username }}"
class=
"btn btn-lg btn-flat bg-gray text-black"
>
</form>
{% endblock %}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment