mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01: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 {
|
||||
margin-left: 0.5rem;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover{
|
||||
color: $ibo-hyperlink-color--on-hover;
|
||||
text-decoration: $ibo-hyperlink-text-decoration--on-hover;
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: "(";
|
||||
|
||||
@@ -73,4 +73,10 @@
|
||||
}
|
||||
});
|
||||
{% endblock %}
|
||||
|
||||
{% block iboModelLink %}
|
||||
$('.ibo-object-details--object-class').on('click', function(){
|
||||
window.open('./schema.php?operation=details_class&class={{ oUIBlock.GetClassName() }}');
|
||||
} )
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user