mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-09 19:14:19 +01:00
Compare commits
3 Commits
issue/7746
...
issue/7984
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
de3ee8322a | ||
|
|
e384248eda | ||
|
|
98bc9f72ae |
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
/* SCSS variables */
|
||||
$common-has-description--content: "?" !default;
|
||||
$common-has-description--content: "ⓘ" !default;
|
||||
$common-has-description--padding-left: $common-spacing-200 !default;
|
||||
$common-has-description--color: $common-color-grey-600 !default;
|
||||
$common-has-description--font-size: 0.7em !default; /* Font size is em on purpose as we want it to be proportional to its context */
|
||||
|
||||
@@ -1140,13 +1140,14 @@ table .group-actions .item-action-wrapper .panel-body > p:last-child{
|
||||
|
||||
.form_field_label > .control-label[data-tooltip-instantiated="true"] {
|
||||
&::after {
|
||||
content: "?";
|
||||
content: "ⓘ";
|
||||
padding-left: 3px;
|
||||
vertical-align: top;
|
||||
|
||||
cursor: pointer;
|
||||
color: $gray;
|
||||
font-size: 0.85em;
|
||||
font-weight: 200;
|
||||
}
|
||||
}
|
||||
.form_field .form_mandatory .control-label:after{
|
||||
@@ -1155,7 +1156,7 @@ table .group-actions .item-action-wrapper .panel-body > p:last-child{
|
||||
left: 3px;
|
||||
color: $brand-primary;
|
||||
font-size: 0.9em;
|
||||
};
|
||||
}
|
||||
/* Note: We don't put the .form_field selector as it must work for read-only */
|
||||
.form-control-static img{
|
||||
max-width: 100% !important;
|
||||
|
||||
@@ -763,7 +763,7 @@ class ActivityPanel extends UIBlock
|
||||
*/
|
||||
public function IsComposeButtonEnabled(): bool
|
||||
{
|
||||
return $this->HasAnEditableCaseLogTab() && $this->IsCaseLogsSubmitAutonomous() && $this->HasUserModifyRights();
|
||||
return $this->HasAnEditableCaseLogTab() && $this->IsCaseLogsSubmitAutonomous();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -974,13 +974,4 @@ class ActivityPanel extends UIBlock
|
||||
$this->bShowMultipleEntriesSubmitConfirmation = appUserPreferences::GetPref('activity_panel.show_multiple_entries_submit_confirmation', static::DEFAULT_SHOW_MULTIPLE_ENTRIES_SUBMI_CONFIRMATION) !== 'false';
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
* @throws \CoreException
|
||||
*/
|
||||
protected function HasUserModifyRights(): bool
|
||||
{
|
||||
return \UserRights::IsActionAllowed($this->GetObjectClass(), UR_ACTION_MODIFY);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user