Skip to content

Commit

Permalink
feat(privacy-news): updates 20240208
Browse files Browse the repository at this point in the history
  • Loading branch information
a-buono committed Feb 8, 2024
1 parent fc7eaa1 commit 043ac87
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion fe-piattaforma/src/components/CardSlider/cardSlider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const CardSlider: React.FC<ForumCardsI> = (props) => {
aria-label={`Categoria: ${category_label}. Data: ${
date && formatDate(date, 'shortDate')
}. Titolo ${
isDocument ? 'documento' : isNews ? 'news' : 'topic'
isDocument ? 'documento' : isNews ? 'annuncio' : 'topic'
}: ${title}. ${likes} like. ${comment_count} ${
Number(comment_count) === 1 ? 'commento' : 'commenti'
}. ${downloads} download. ${views} ${
Expand Down
2 changes: 1 addition & 1 deletion fe-piattaforma/src/components/ForumLayout/ForumLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ const ForumLayout: React.FC<ForumLayoutI> = (props) => {
onClick={cta}
data-testid='create-new-entity'
aria-label={`Crea ${
isForum ? 'Argomento' : isDocument ? 'documento' : 'news'
isForum ? 'Argomento' : isDocument ? 'documento' : 'annuncio'
}`}
>
{iconCta ? (
Expand Down
2 changes: 1 addition & 1 deletion fe-piattaforma/src/components/PreviewCard/PreviewCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const PreviewCard = ({ disabled = false, onClick }: PreviewCardI) => {
Guarda l&apos;anteprima
</h1>
<p className='text-muted preview-card-container__description'>
Visualizza l&apos; anteprima della news prima di pubblicarla
Visualizza l&apos; anteprima dell'annuncio prima di pubblicarlo
</p>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const ReportFlowCard: React.FC<ReportFlowI> = (props) => {
setCurrentStep(currentStep - 1);
};

const sections = '(NEWS, TOPIC, DOCUMENTI)';
const sections = '(ANNUNCIO, TOPIC, DOCUMENTI)';

const possibleActions = (
<div className='d-flex flex-row justify-content-row align-items-center'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const ManageNews: React.FC<ManageNewsI> = ({

const stepsCTA = {
form: {
title: `${creation ? 'Pubblica nuova' : 'Modifica'} news`,
title: `${creation ? 'Pubblica nuovo' : 'Modifica'} annuncio`,
primaryCTA: {
disabled: !isFormValid,
label: creation ? 'Conferma' : 'Salva',
Expand All @@ -81,7 +81,7 @@ const ManageNews: React.FC<ManageNewsI> = ({
tertiaryCTA: null,
},
preview: {
title: 'Anteprima news',
title: 'Anteprima annuncio',
primaryCTA: {
label: creation ? 'Conferma' : 'Salva',
onClick: () => handleSaveNews(),
Expand Down Expand Up @@ -281,8 +281,8 @@ const ManageNews: React.FC<ManageNewsI> = ({
case 'confirm':
content = (
<ConfirmItemCreation
description={`News ${
creation ? 'creata' : 'modificata'
description={`Annuncio ${
creation ? 'creato' : 'modificato'
} correttamente!`}
/>
);
Expand Down
8 changes: 4 additions & 4 deletions fe-piattaforma/src/pages/common/Privacy/PrivacyDisclaimer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const PrivacyDisclaimer = () => {
Pietro di Brazzà 86, 00187 Roma (il <strong>“Dipartimento”</strong>),
contattabile ai seguenti recapiti:
</p>
<ul className='mt-2 mb-2'>
<ul className='mt-2 mb-2 ml-5'>
<li>
<strong>E-mail: </strong>
<a href='mailto:[email protected]'>
Expand All @@ -58,7 +58,7 @@ export const PrivacyDisclaimer = () => {
Il Responsabile per la protezione dei dati - Data Protection Officer è
contattabile ai seguenti recapiti:
</p>
<ul className='mt-2 mb-2'>
<ul className='mt-2 mb-2 ml-5'>
<li>
<strong>E-mail: </strong>
<a href='mailto:[email protected]'>
Expand Down Expand Up @@ -141,7 +141,7 @@ export const PrivacyDisclaimer = () => {
Quali sono i diritti dell’Interessato
</h4>
<p>L’Interessato potrà esercitare i seguenti diritti:</p>
<ul className='mt-2 mb-2'>
<ul className='mt-2 mb-2 ml-5'>
<li>
<strong>Diritto di accedere ai dati:</strong> ✔️ Si ha diritto ad
ottenere conferma e informazioni sul trattamento.
Expand Down Expand Up @@ -235,7 +235,7 @@ export const PrivacyDisclaimer = () => {
fornitori ai link di seguito indicati. Nel caso in cui si disabilitino
tutti i cookie, la Piattaforma potrebbe non funzionare correttamente.
</p>
<ul className='mt-2 mb-5'>
<ul className='mt-2 mb-5 ml-5'>
<li>
<a
href='https://support.google.com/chrome/answer/95647'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const BachecaDigitaleWidget = () => {
</div>
<div className='container'>
<span className='sr-only'>
{'La bacheca presenta ' + (newsList?.length || 0) + ' news'}
{'La bacheca presenta ' + (newsList?.length || 0) + ' annunci'}
</span>
{newsList?.length ? (
<Slider isItemsHome={!device.mediaIsPhone} widgetType='news'>
Expand Down Expand Up @@ -111,7 +111,7 @@ const BachecaDigitaleWidget = () => {
{device.mediaIsPhone && (
<div className='d-flex justify-content-center mt-5'>
<a className='btn btn-primary' role='button' href='/bacheca'>
Leggi tutte le news
Leggi tutti gli annunci
</a>
</div>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ const FormPublishNews: React.FC<publishNewsI> = (props) => {
<Toggle
checked={highlighted}
onChange={() => setHighlighted((prev) => !prev)}
label='News in evidenza'
label='Annunci in evidenza'
/>
</FormGroup>
</div>
Expand Down

0 comments on commit 043ac87

Please sign in to comment.