parent
86e903ce4a
commit
9f2b41e597
|
@ -122,13 +122,13 @@ const Item = ({ type, group, readOnly }: { type: EventType; group: EventTypeGrou
|
||||||
const content = () => (
|
const content = () => (
|
||||||
<div>
|
<div>
|
||||||
<span
|
<span
|
||||||
className="font-semibold text-gray-700 ltr:mr-1 rtl:ml-1"
|
className="text-default font-semibold ltr:mr-1 rtl:ml-1"
|
||||||
data-testid={"event-type-title-" + type.id}>
|
data-testid={"event-type-title-" + type.id}>
|
||||||
{type.title}
|
{type.title}
|
||||||
</span>
|
</span>
|
||||||
{group.profile.slug ? (
|
{group.profile.slug ? (
|
||||||
<small
|
<small
|
||||||
className="hidden font-normal leading-4 text-gray-600 sm:inline"
|
className="text-subtle hidden font-normal leading-4 sm:inline"
|
||||||
data-testid={"event-type-slug-" + type.id}>
|
data-testid={"event-type-slug-" + type.id}>
|
||||||
{`/${
|
{`/${
|
||||||
type.schedulingType !== SchedulingType.MANAGED ? group.profile.slug : t("username_placeholder")
|
type.schedulingType !== SchedulingType.MANAGED ? group.profile.slug : t("username_placeholder")
|
||||||
|
|
|
@ -55,7 +55,7 @@ const DateOverrideList = ({
|
||||||
return (
|
return (
|
||||||
<ul className="border-subtle rounded border" data-testid="date-overrides-list">
|
<ul className="border-subtle rounded border" data-testid="date-overrides-list">
|
||||||
{items.sort(sortByDate).map((item, index) => (
|
{items.sort(sortByDate).map((item, index) => (
|
||||||
<li key={item.id} className="flex justify-between border-b px-5 py-4 last:border-b-0">
|
<li key={item.id} className="border-subtle flex justify-between border-b px-5 py-4 last:border-b-0">
|
||||||
<div>
|
<div>
|
||||||
<h3 className="text-emphasis text-sm">
|
<h3 className="text-emphasis text-sm">
|
||||||
{new Intl.DateTimeFormat("en-GB", {
|
{new Intl.DateTimeFormat("en-GB", {
|
||||||
|
|
Loading…
Reference in New Issue