diff --git a/src/components/RequestList/RequestItem/index.tsx b/src/components/RequestList/RequestItem/index.tsx index c10b5b3a7..d7e3cae37 100644 --- a/src/components/RequestList/RequestItem/index.tsx +++ b/src/components/RequestList/RequestItem/index.tsx @@ -27,7 +27,6 @@ import { useToasts } from 'react-toast-notifications'; import RequestModal from '../../RequestModal'; const messages = defineMessages({ - requestedby: 'Requested by {username}', seasons: 'Seasons', notavailable: 'N/A', failedretry: 'Something went wrong while retrying the request.', @@ -163,10 +162,15 @@ const RequestItem: React.FC = ({ {isMovie(title) ? title.title : title.name} -
- {intl.formatMessage(messages.requestedby, { - username: requestData.requestedBy.displayName, - })} +
+ + + {requestData.requestedBy.displayName} +
{requestData.seasons.length > 0 && (
@@ -216,18 +220,24 @@ const RequestItem: React.FC = ({
{requestData.modifiedBy ? ( - {requestData.modifiedBy.displayName} - - ( - + - ) - + + {requestData.modifiedBy.displayName} ( + + ) + +
) : ( N/A diff --git a/src/i18n/locale/en.json b/src/i18n/locale/en.json index 85092face..c6fb2656b 100644 --- a/src/i18n/locale/en.json +++ b/src/i18n/locale/en.json @@ -148,7 +148,6 @@ "components.RequestCard.seasons": "Seasons", "components.RequestList.RequestItem.failedretry": "Something went wrong while retrying the request.", "components.RequestList.RequestItem.notavailable": "N/A", - "components.RequestList.RequestItem.requestedby": "Requested by {username}", "components.RequestList.RequestItem.seasons": "Seasons", "components.RequestList.filterAll": "All", "components.RequestList.filterApproved": "Approved",