mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 14:38:47 +02:00
N°7194 - Datamodel - Make classe name clickable on every object.
This commit is contained in:
@@ -83,6 +83,12 @@ $ibo-object-details--header-right--padding-right--is-sticking: $ibo-spacing-300
|
|||||||
|
|
||||||
.ibo-object-details--status + .ibo-object-details--object-class {
|
.ibo-object-details--status + .ibo-object-details--object-class {
|
||||||
margin-left: 0.5rem;
|
margin-left: 0.5rem;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
&:hover{
|
||||||
|
color: $ibo-hyperlink-color--on-hover;
|
||||||
|
text-decoration: $ibo-hyperlink-text-decoration--on-hover;
|
||||||
|
}
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: "(";
|
content: "(";
|
||||||
|
|||||||
@@ -73,4 +73,10 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block iboModelLink %}
|
||||||
|
$('.ibo-object-details--object-class').on('click', function(){
|
||||||
|
window.open('./schema.php?operation=details_class&class={{ oUIBlock.GetClassName() }}');
|
||||||
|
} )
|
||||||
|
{% endblock %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user