Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Memorekall Member New
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rekall
Memorekall Member New
Commits
07ed8132
Commit
07ed8132
authored
3 years ago
by
Sebastien
Browse files
Options
Downloads
Patches
Plain Diff
add link to go back to my capsule only if the current view is opened by logged user
parent
884c2e04
Branches
tuleap-140-go-back-to-my-capsules-page-when-i-m-on-capsule-preview-page
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/project/project_view.html.twig
+9
-2
9 additions, 2 deletions
templates/project/project_view.html.twig
with
9 additions
and
2 deletions
templates/project/project_view.html.twig
+
9
−
2
View file @
07ed8132
...
...
@@ -16,7 +16,15 @@
</head>
{%
set
topShift
=
0
%}
<body
class=
"container col-10 col-md-8 col-lg-6 m-auto"
>
{%
if
is_granted
(
"IS_AUTHENTICATED_REMEMBERED"
)
%}
{%
set
topShift
=
30
%}
<div
class=
"position-absolute top-0 start-0 px-2"
>
<a
href=
"
{{
path
(
'capsule_list'
)
}}
"
class=
"text-decoration-none fs-5"
>
Go home
</a>
</div>
{%
endif
%}
<div
class=
"position-relative d-flex flex-row align-items-center justify-content-center mb-5"
>
<img
id=
"header-memorekall-logo"
class=
"memorekall-logo"
src=
"
{{
asset
(
'build/images/MemoRekall.png'
)
}}
"
>
</div>
...
...
@@ -26,9 +34,8 @@
<span
class=
"spinner-grow spinner-grow-sm mx-2"
role=
"status"
aria-hidden=
"true"
></span>
<span
class=
"spinner-grow spinner-grow-sm mx-2"
role=
"status"
aria-hidden=
"true"
></span>
</div>
<iframe
src=
"
{{
url
}}
"
style=
"width:100%;height:
100%;top:0
;left:0;position:absolute"
style=
"width:100%;height:
calc(100vh -
{{
topShift
}}
px);top:
{{
topShift
}}
px
;left:0;position:absolute"
frameborder=
"0"
webkitallowfullscreen
...
...
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