Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Public contract registry
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
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
TO
Public contract registry
Commits
5ab07d5b
Commit
5ab07d5b
authored
2 years ago
by
Tomáš Valenta
Browse files
Options
Downloads
Patches
Plain Diff
view created_on, updated_on and created_by in admin
parent
7c938ee7
No related branches found
No related tags found
No related merge requests found
Pipeline
#12126
passed
2 years ago
Stage: build
Stage: test_deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
contracts/templates/contracts/view_contract.html
+41
-28
41 additions, 28 deletions
contracts/templates/contracts/view_contract.html
with
41 additions
and
28 deletions
contracts/templates/contracts/view_contract.html
+
41
−
28
View file @
5ab07d5b
...
@@ -262,8 +262,6 @@
...
@@ -262,8 +262,6 @@
</tbody>
</tbody>
</table>
</table>
{% with contract.issues.all as issues %}
{% if issues or user.can_view_confidential and contract.notes %}
<table
class=
"table table-auto w-full table--striped table--bordered mb-10"
>
<table
class=
"table table-auto w-full table--striped table--bordered mb-10"
>
<tbody>
<tbody>
<tr>
<tr>
...
@@ -272,6 +270,8 @@
...
@@ -272,6 +270,8 @@
</td>
</td>
</tr>
</tr>
{% if user.can_view_confidential %}
{% with contract.issues.all as issues %}
{% if issues %}
{% if issues %}
<tr>
<tr>
<td
class=
"w-1/5 !p-2.5"
>
{% if not user.can_view_confidential %}Poznámky{% else %}Problémy{% endif %}
</td>
<td
class=
"w-1/5 !p-2.5"
>
{% if not user.can_view_confidential %}Poznámky{% else %}Problémy{% endif %}
</td>
...
@@ -286,8 +286,9 @@
...
@@ -286,8 +286,9 @@
</td>
</td>
</tr>
</tr>
{% endif %}
{% endif %}
{% endwith %}
{% if
user.can_view_confidential and c
ontract.notes %}
{% if ontract.notes %}
<tr>
<tr>
<td
class=
"w-1/5 !p-2.5 !bg-red-100"
>
<td
class=
"w-1/5 !p-2.5 !bg-red-100"
>
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
...
@@ -302,10 +303,22 @@
...
@@ -302,10 +303,22 @@
</td>
</td>
</tr>
</tr>
{% endif %}
{% endif %}
{% endif %}
<tr>
<td
class=
"w-1/5 !p-2.5"
>
Čas vytvoření
</td>
<td
class=
"w-4/5 !p-2.5"
>
{{ contract.created_on }}
</td>
</tr>
<tr>
<td
class=
"w-1/5 !p-2.5"
>
Čas poslední aktualizace
</td>
<td
class=
"w-4/5 !p-2.5"
>
{{ contract.updated_on }}
</td>
</tr>
<tr>
<td
class=
"w-1/5 !p-2.5"
>
Nahráno uživatelem
</td>
<td
class=
"w-4/5 !p-2.5"
>
{{ contract.created_by }}
</td>
</tr>
</tbody>
</tbody>
</table>
</table>
{% endif %}
{% endwith %}
<h2
class=
"text-xl font-bold mb-5"
><i
class=
"ico--pencil mr-3"
></i>
Podpisy
</h2>
<h2
class=
"text-xl font-bold mb-5"
><i
class=
"ico--pencil mr-3"
></i>
Podpisy
</h2>
...
...
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