.wc-block-product-tag__selection { width: 100%; } .wc-block-product-tag__cancel-button.is-tertiary { margin: 1em auto 0; } import './style.scss'; import { getRedirectUrl } from '@automattic/jetpack-components'; import { ExternalLink } from '@wordpress/components'; import { useSelect } from '@wordpress/data'; import { createInterpolateElement } from '@wordpress/element'; import { __, sprintf } from '@wordpress/i18n'; import { STORE_ID } from '../../../store'; import StorageHelpPopover from '../storage-help-popover'; import { StorageUsageLevels } from '../storage-usage-levels'; import { useStorageUsageText } from './use-storage-usage-text'; const StorageUsageDetails = ( { storageUsed, storageLimit, lastBackupSize, planRetentionDays, usageLevel, onClickedPurchase, } ) => { const domain = useSelect( select => select( STORE_ID ).getCalypsoSlug() ); const usageText = useStorageUsageText( storageUsed, storageLimit ); const daysOfBackupsSaved = useSelect( select => select( STORE_ID ).getDaysOfBackupsSaved() ); let forecastInDays = 0; if ( storageLimit > 0 && lastBackupSize > 0 ) { forecastInDays = Math.floor( storageLimit / lastBackupSize ); } const singularDaysOfBackupLabel = __( '1 day of backups saved', 'jetpack-backup-pkg' ); const pluralDaysOfBackupLabel = sprintf( /* translators: %s: Number of days of backups saved. */ __( '%s days of backups saved', 'jetpack-backup-pkg' ), daysOfBackupsSaved ); return ( <>
{ usageText } { // Show popover only when usage level is normal, for other levels, // we already show separate message with CTA under progress bar forecastInDays < planRetentionDays && StorageUsageLevels.Normal === usageLevel && ( ) }
{ createInterpolateElement( daysOfBackupsSaved === 1 ? singularDaysOfBackupLabel : pluralDaysOfBackupLabel, { a: ( ), } ) }
); }; export default StorageUsageDetails; July 2024 – E-MAC TANZANIA

July 2024

E-MAC Tanzania WASH Management Plan: Successes, Challenges, and Future Directions (September 2020-December 2023)

E-MAC is excited to share the WASH management plan for the WASH & Learn project, a three-year initiative running from September 2020 to December 2023 that was funded by SIMAVI. This project aimed at creating awareness and advocating for proper WASH, Menstrual Hygiene Management, and Sexual Reproductive Health Rights (SRHR) among women and girls in […]

E-MAC Tanzania WASH Management Plan: Successes, Challenges, and Future Directions (September 2020-December 2023) Read More »

Staff capacity building on proposal writing and M&E plan development

E-MAC Tanzania, with the support of IKI/GIZ, conducted a three-day staff capacity-building workshop in Morogoro aimed at enhancing skills in proposal writing, developing Monitoring and Evaluation (M&E) plans, and resource mobilization. The primary goal of the training was to equip staff with the knowledge and expertise necessary to craft compelling proposals that align with donor

Staff capacity building on proposal writing and M&E plan development Read More »

Scroll to Top