Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
SemWeb
libview
Commits
6f2c5c932259
Commit
f2bbbc9e
authored
Oct 19, 2018
by
Laurent Wouters
Browse files
[fix] Fixing the person view for Cubicweb
parent
860e6265c709
Changes
1
Hide whitespace changes
Inline
Side-by-side
views-logilab/src/person/PersonImpl.vue
View file @
6f2c5c93
...
...
@@ -3,15 +3,30 @@
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-sm-4"
>
<img
:src=
"person.depiction.__resource.uri"
height=
"300px"
/>
<img
v-if=
"person.depiction"
:src=
"person.depiction.__resource.uri"
height=
"300px"
/>
</div>
<div
class=
"col-sm-8"
>
<h1>
{{
person
.
title
}}
{{
person
.
name
}}
<span
v-if=
"person.__warnings['name'] != undefined"
style=
"color: yellow; font-size: 8pt;"
:title=
"person.__warnings['name']"
>
<span
v-if=
"person.__warnings['title'] != undefined"
style=
"color: yellow; font-size: 8pt;"
:title=
"person.__warnings['title']"
>
⚠
</span>
<span
v-if=
"person.name"
>
{{
person
.
name
}}
<span
v-if=
"person.__warnings['name'] != undefined"
style=
"color: yellow; font-size: 8pt;"
:title=
"person.__warnings['name']"
>
⚠
</span>
</span>
<span
v-else
>
{{
person
.
firstName
}}
<span
v-if=
"person.__warnings['firstName'] != undefined"
style=
"color: yellow; font-size: 8pt;"
:title=
"person.__warnings['firstName']"
>
⚠
</span>
{{
person
.
lastName
}}
<span
v-if=
"person.__warnings['lastName'] != undefined"
style=
"color: yellow; font-size: 8pt;"
:title=
"person.__warnings['lastName']"
>
⚠
</span>
</span>
</h1>
<table
class=
"table table-bordered table-hover"
>
<tbody>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment