diff --git a/docs/actions/bazarliste.yaml b/docs/actions/bazarliste.yaml index a04d6fc0f..902010cf9 100644 --- a/docs/actions/bazarliste.yaml +++ b/docs/actions/bazarliste.yaml @@ -317,6 +317,7 @@ actions: - date_maj_fiche label: _t(AB_bazarliste_displayfields_visual_label) default: "" + bazarcard: label: _t(AB_bazarcard_label) @@ -338,6 +339,17 @@ actions: vertical: _t(AB_bazarcard_style_vertical) square: _t(AB_bazarcard_style_square) horizontal: _t(AB_bazarcard_style_horizontal) + imgstyle: + type: list + label: _t(AB_bazarcard_imgstyle_label) + icon: image + default: cover + options: + contain: _t(AB_bazarcard_imgstyle_contain) + cover: _t(AB_bazarcard_imgstyle_cover) + nblines: + type: number + label: _t(AB_bazarcard_nblines_label) div: type: divider label: _t(AB_bazarliste_displayfields_title) diff --git a/docs/actions/lang/actionsbuilder_en.inc.php b/docs/actions/lang/actionsbuilder_en.inc.php index 2113ba9a5..cb33fb463 100644 --- a/docs/actions/lang/actionsbuilder_en.inc.php +++ b/docs/actions/lang/actionsbuilder_en.inc.php @@ -1,13 +1,13 @@ "Gauche", // "AB_RIGHT" => "Droite", - 'AB_advanced' => "Advanced", + "AB_advanced" => "Advanced", // BAZAR - 'AB_bazar_label' => "Display form's data", + "AB_bazar_label" => "Display form's data", // "AB_bazar_commons_colorfield_label" => "Champ pour la couleur", // "AB_bazar_commons_colormapping_color_label" => "Couleur", // "AB_bazar_commons_dynamic_label" => "Rendu dynamique (version beta)", @@ -19,27 +19,27 @@ // "AB_bazar_commons_pagination_label" => "Nombre de fiches par page", // "AB_bazar_commons_pagination_hint" => "Laisser vide pour ne pas utiliser la pagination", // "AB_bazar_commons_search_fields_label" => "Champs pour la recherche", - 'AB_bazar_commons_search_label' => "Search bar", + "AB_bazar_commons_search_label" => "Search bar", // "AB_bazar_commons_search_label_dynamic" => "Recherche dynamique", // "AB_bazar_commons_subproperty_id_label" => "Valeur", // "AB_bazar_commons_title" => "Affichage", // "AB_bazar_commons2_champ_label" => "Champ pour le tri", // "AB_bazar_commons2_champ_hint" => "Il est possible d'effectuer des requètes avancées, pour en savoir plus", - 'AB_bazar_commons2_filter_index' => "'bf_date_debut_evenement' shoud be defined.", - 'AB_bazar_commons2_filter_on_date' => "Filter on date", - 'AB_bazar_commons2_filter_on_date_future' => "future", - 'AB_bazar_commons2_filter_on_date_past' => "past", - 'AB_bazar_commons2_filter_on_date_today' => "today", - 'AB_bazar_commons2_filter_on_date_for_one_month' => "for one month", + "AB_bazar_commons2_filter_index" => "'bf_date_debut_evenement' shoud be defined.", + "AB_bazar_commons2_filter_on_date" => "Filter on date", + "AB_bazar_commons2_filter_on_date_future" => "future", + "AB_bazar_commons2_filter_on_date_past" => "past", + "AB_bazar_commons2_filter_on_date_today" => "today", + "AB_bazar_commons2_filter_on_date_for_one_month" => "for one month", // "AB_bazar_commons2_filter_on_date_on_current_month" => "dans le mois qui arrive", - 'AB_bazar_commons2_filter_on_date_for_two_years' => "for two years", - 'AB_bazar_commons2_filter_on_date_one_week_more_and_less' => "+/- one week", + "AB_bazar_commons2_filter_on_date_for_two_years" => "for two years", + "AB_bazar_commons2_filter_on_date_one_week_more_and_less" => "+/- one week", // "AB_bazar_commons2_filter_user_as_owner" => "N'afficher que les fiches de l'utilisateur courant", // "AB_bazar_commons2_filtercolsize_label" => "Largeur des facettes", // "AB_bazar_commons2_filterposition_label" => "Position des facettes", // "AB_bazar_commons2_groupsexpanded_label" => "Affichage initial des facettes", - 'AB_bazar_commons2_groupsexpanded_false' => "Only first expanded", - 'AB_bazar_commons2_groupsexpanded_true' => "All expanded", + "AB_bazar_commons2_groupsexpanded_false" => "Only first expanded", + "AB_bazar_commons2_groupsexpanded_true" => "All expanded", // "AB_bazar_commons2_ordre_label" => "Ordre de classement", // "AB_bazar_commons2_ordre_option_asc" => "Croissant", // "AB_bazar_commons2_ordre_option_desc" => "Décroissant", @@ -64,20 +64,20 @@ // "AB_bazarcarto_cluster_label" => "Regroupe les points par zone (clusters)", // "AB_bazarcarto_width_label" => "Largeur de la carte", // "AB_bazarcarto_height_label" => "Hauteur de la carte", - 'AB_bazarcarto_entrydisplay_label' => "On click, display entry", - 'AB_bazarcarto_entrydisplay_option_direct' => "In current tab", - 'AB_bazarcarto_entrydisplay_option_newtab' => "In a new tab", - 'AB_bazarcarto_entrydisplay_option_sidebar' => "In sidebar", - 'AB_bazarcarto_entrydisplay_option_modal' => "In popup", - 'AB_bazarcarto_entrydisplay_option_popup' => "In small popup (into map)", - 'AB_bazarcarto_popuptemplate_label' => "Template for small popup", - 'AB_bazarcarto_popuptemplate_entry_from_html' => "Server-side rendered", - 'AB_bazarcarto_popuptemplate_entry_from_data' => "Locally rendered", - 'AB_bazarcarto_popuptemplate_custom' => "Custom template", - 'AB_bazarliste_popupselectedfields_label' => "Fields to keep in popup", - 'AB_bazarliste_popupneededfields_label' => "Fields to add in popup", - 'AB_bazarcarto_popupcustomtemplate_label' => "Custom template for small popup", - 'AB_bazarcarto_popupcustomtemplate_hint' => "ex. 'custom_map_popup.twig' to put in 'custom/templates/bazar/entries/index-dynamic-templates/'", + "AB_bazarcarto_entrydisplay_label" => "On click, display entry", + "AB_bazarcarto_entrydisplay_option_direct" => "In current tab", + "AB_bazarcarto_entrydisplay_option_newtab" => "In a new tab", + "AB_bazarcarto_entrydisplay_option_sidebar" => "In sidebar", + "AB_bazarcarto_entrydisplay_option_modal" => "In popup", + "AB_bazarcarto_entrydisplay_option_popup" => "In small popup (into map)", + "AB_bazarcarto_popuptemplate_label" => "Template for small popup", + "AB_bazarcarto_popuptemplate_entry_from_html" => "Server-side rendered", + "AB_bazarcarto_popuptemplate_entry_from_data" => "Locally rendered", + "AB_bazarcarto_popuptemplate_custom" => "Custom template", + "AB_bazarliste_popupselectedfields_label" => "Fields to keep in popup", + "AB_bazarliste_popupneededfields_label" => "Fields to add in popup", + "AB_bazarcarto_popupcustomtemplate_label" => "Custom template for small popup", + "AB_bazarcarto_popupcustomtemplate_hint" => "ex. 'custom_map_popup.twig' to put in 'custom/templates/bazar/entries/index-dynamic-templates/'", // "AB_bazarcarto_displayfields_markhover_label" => "Champ à afficher au survol du marker", // "AB_bazarcarto_smallmarker_label" => "Petit marqueurs", // "AB_bazarcarto_spider_label" => "Mode spider", @@ -91,18 +91,18 @@ // "AB_bazaragenda_nbcol_label" => "Nombre de colonnes", // "AB_bazaragenda_modal_label" => "Affichage d'une fenêtre modale lors du clic", // // BazarCalendar - 'AB_bazarcalendar' => "Calendar", - 'AB_bazarcalendar_description' => "The entry will be in the form of an event in a calendar.", - 'AB_bazarcalendar_showlist_label' => "Display the 'list' button", - 'AB_bazarcalendar_showlist_week' => "Week", - 'AB_bazarcalendar_showlist_month' => "Month", - 'AB_bazarcalendar_showlist_year' => "Year", - 'AB_bazarcalendar_initialview_label' => "Initia view", - 'AB_bazarcalendar_initialview_month' => "Month (default value)", - 'AB_bazarcalendar_initialview_week' => "Week", - 'AB_bazarcalendar_initialview_day' => "Day", - 'AB_bazarcalendar_initialview_list' => "List", - 'AB_bazarcarto_showicalbutton_label' => "Show ical export button", + "AB_bazarcalendar" => "Calendar", + "AB_bazarcalendar_description" => "The entry will be in the form of an event in a calendar.", + "AB_bazarcalendar_showlist_label" => "Display the 'list' button", + "AB_bazarcalendar_showlist_week" => "Week", + "AB_bazarcalendar_showlist_month" => "Month", + "AB_bazarcalendar_showlist_year" => "Year", + "AB_bazarcalendar_initialview_label" => "Initia view", + "AB_bazarcalendar_initialview_month" => "Month (default value)", + "AB_bazarcalendar_initialview_week" => "Week", + "AB_bazarcalendar_initialview_day" => "Day", + "AB_bazarcalendar_initialview_list" => "List", + "AB_bazarcarto_showicalbutton_label" => "Show ical export button", // // BazarListe // "AB_bazarliste_label" => "Liste", // "AB_bazarliste_description" => "Les fiches seront sous forme d'accordéons", @@ -113,13 +113,17 @@ // "AB_bazarliste_displayfields_floating_label" => "Zone flottante", // "AB_bazarliste_displayfields_visual_label" => "Zone visuelle", // BazarCard - // "AB_bazarcard_label" => "Blocs (agenda, actus, trombinoscope, damier...)", + "AB_bazarcard_label" => "Card grid", // "AB_bazarcard_description" => "Les fiches seront sous forme de cartes", // "AB_bazarliste_displayfields_footer_label" => "Zone footer", // "AB_bazarcard_style_label" => "Type de rendu", // "AB_bazarcard_style_vertical" => 'Vertical', // "AB_bazarcard_style_square" => 'Carré', // "AB_bazarcard_style_horizontal" => 'Horizontal', + "AB_bazarcard_imgstyle_label"=>'Image size', + "AB_bazarcard_imgstyle_contain"=>'Full size', + "AB_bazarcard_imgstyle_cover"=>'Crop to cover', + "AB_bazarcard_nblines_label"=> 'Number of lines for subtitle', // BazarTable 'AB_BAZAR_MAP_AND_TABLE_LABEL' => 'Map and table', 'AB_BAZAR_MAP_AND_TABLE_TABLEWITH_LABEL' => 'Table with all entries', @@ -200,9 +204,9 @@ // "AB_bazargogocarto_height_label" => "Hauteur de la carte", // "AB_bazargogocarto_width_label" => "Largeur de la carte", // BazarAction - 'AB_bazar_action_label' => "Display a form to create an entry", - 'AB_bazar_action_description' => "Help to display a form to create an entry", - 'AB_bazar_action_redirecturl_label' => "Wiki page name or Full url to display after creation of an entry", + "AB_bazar_action_label" => "Display a form to create an entry", + "AB_bazar_action_description" => "Help to display a form to create an entry", + "AB_bazar_action_redirecturl_label" => "Wiki page name or Full url to display after creation of an entry", // attach // "AB_attach_commons_title" => "Pour les images", // "AB_attach_link_label" => "Lien quand on cliquera sur l'image", @@ -219,10 +223,10 @@ // "AB_attach_width_label" => "Largeur", // "AB_attach_height_label" => "Hauteur", // "AB_attach_class_label" => "Classe", - 'AB_attach_class_displaylink_label' => "If link, open it in", - 'AB_attach_class_displaylink_default' => "current tab", - 'AB_attach_class_displaylink_new-window' => "new tab", - 'AB_attach_class_displaylink_modalbox' => "modalbox", + "AB_attach_class_displaylink_label" => "If link, open it in", + "AB_attach_class_displaylink_default" => "current tab", + "AB_attach_class_displaylink_new-window" => "new tab", + "AB_attach_class_displaylink_modalbox" => "modalbox", // "AB_attach_class_position_label" => "Position", // "AB_attach_class_position_none" => "Texte en dessous", // "AB_attach_class_position_left" => "Gauche", @@ -246,37 +250,37 @@ // "AB_attach_desc_label" => "Description", // "AB_attach_displaypdf_label" => "Afficher le fichier PDF", //video - 'AB_attach_video_label' => "Embeded video", - 'AB_attach_video_description' => "Embeding of youtube, vimeo or peertube video.", + "AB_attach_video_label" => "Embeded video", + "AB_attach_video_description" => "Embeding of youtube, vimeo or peertube video.", // "AB_attach_video_hint" => "L'identifiant de la vidéo correspond aux chiffres ou lettres à la fin de son URL", - 'AB_attach_video_serveur_label' => "Video hostname", - 'AB_attach_video_id_label' => "Video ID", - 'AB_attach_video_peertubeinstance_label' => "PeerTube instance hostname (url)", - 'AB_attach_video_ratio_label' => "Video ratio", - 'AB_attach_video_position_label' => "Position", - 'AB_attach_video_largeur_max_label' => "Maximum width", - 'AB_attach_video_hauteur_max_label' => "Maximum height", + "AB_attach_video_serveur_label" => "Video hostname", + "AB_attach_video_id_label" => "Video ID", + "AB_attach_video_peertubeinstance_label" => "PeerTube instance hostname (url)", + "AB_attach_video_ratio_label" => "Video ratio", + "AB_attach_video_position_label" => "Position", + "AB_attach_video_largeur_max_label" => "Maximum width", + "AB_attach_video_hauteur_max_label" => "Maximum height", //pdf - 'AB_attach_pdf_label' => "Embeded pdf file", - 'AB_attach_pdf_description' => "Embeding a pdf file from this website.", + "AB_attach_pdf_label" => "Embeded pdf file", + "AB_attach_pdf_description" => "Embeding a pdf file from this website.", // "AB_attach_pdf_hint" => "Pour afficher votre PDF, d'abord le charger dans une page de ce wiki et en copier le lien ici.", - 'AB_attach_pdf_url_label' => "File's URL", - 'AB_attach_pdf_ratio_label' => "Display ratio", - 'AB_attach_pdf_ratio_option_portrait' => "portrait", - 'AB_attach_pdf_ratio_option_paysage' => "landscape", - 'AB_attach_pdf_ratio_option_carre' => "square", - 'AB_attach_pdf_position_label' => "Position", - 'AB_attach_pdf_largeur_max_label' => "PDF file maximum width", - 'AB_attach_pdf_hauteur_max_label' => "PDF file Video maximum height)", + "AB_attach_pdf_url_label" => "File's URL", + "AB_attach_pdf_ratio_label" => "Display ratio", + "AB_attach_pdf_ratio_option_portrait" => "portrait", + "AB_attach_pdf_ratio_option_paysage" => "landscape", + "AB_attach_pdf_ratio_option_carre" => "square", + "AB_attach_pdf_position_label" => "Position", + "AB_attach_pdf_largeur_max_label" => "PDF file maximum width", + "AB_attach_pdf_hauteur_max_label" => "PDF file Video maximum height)", // management - 'AB_management_label' => "YesWiki management", - 'AB_management_editactionsacls_label' => "Edit actions access control rights", - 'AB_management_edithandlersacls_label' => "Edit handlers access control rights", - 'AB_management_editgroups_label' => "Edit users' groups", - 'AB_management_adminpages_label' => "Display admin logs", - 'AB_management_gererdroits_label' => "Manage pages' access control rights", - 'AB_management_gererthemes_label' => "Manage pages' theme", - 'AB_management_setwikidefaulttheme_label' => "Set page's default theme", + "AB_management_label" => "YesWiki management", + "AB_management_editactionsacls_label" => "Edit actions access control rights", + "AB_management_edithandlersacls_label" => "Edit handlers access control rights", + "AB_management_editgroups_label" => "Edit users' groups", + "AB_management_adminpages_label" => "Display admin logs", + "AB_management_gererdroits_label" => "Manage pages' access control rights", + "AB_management_gererthemes_label" => "Manage pages' theme", + "AB_management_setwikidefaulttheme_label" => "Set page's default theme", // "AB_management_userstable_label" => "Table des utilisateurs", // "AB_management_filemanager_label" => "Gestion des fichiers", // "AB_management_themeselector_label" => "Tester les thèmes disponibles", @@ -285,9 +289,10 @@ // "AB_management_despam_hint_details" => "Ceci permet de rétablir les pages vandalisées ou de supprimer les nouvelles pages créées" // ." par des spams. ATTENTION : la suppression des pages choisies sera DÉFINITITVE.", // "AB_management_editconfig_label" => "Modifier des paramètres du fichier de configuration", - 'AB_management_adminbackups_label' => "Backups management", - 'AB_management_commentstable_label' => "Comments table", - 'AB_management_usercomments_label' => "My comments", + "AB_management_adminbackups_label" => "Backups management", + "AB_management_commentstable_label" => "Comments table", + "AB_management_usercomments_label" => "My comments", + // advanced actions // "AB_advanced_actions_label" => "Actions avancées", // "AB_advanced_action_backlinks_label" => "Afficher les pages qui ont un lien vers la page courante", @@ -343,6 +348,7 @@ // "AB_advanced_action_recentcomments_label" => "Liste les derniers commentaires", // "AB_advanced_action_recentcomments_max_label" => "Nombre maximum de commentaires à afficher", // "AB_advanced_action_configuration_label" => "Afficher le contenu du fichier de configuration", + // "AB_advanced_action_login_label" => "Connexion", // "AB_advanced_action_login_signupurl_label" => "Url d'inscription", // "AB_advanced_action_login_signupurl_hint" => "Page du wiki ou url ou '0' pour masquer le bouton d'inscription", @@ -364,6 +370,7 @@ // "AB_advanced_action_login_loggedinurl_hint" => "Page du wiki ou url (utilise 'userpage' si vide ou en cas d'erreur)", // "AB_advanced_action_login_loggedouturl_label" => "Url de redirection après déconnexion", // "AB_advanced_action_login_loggedouturl_hint" => "Page du wiki ou url (utilise 'incomingurl' si vide)", + // // col // "AB_template_col_size_hint" => "Attention, la somme des largeurs de toutes les colonnes ne devra pas excéder 12 !", // // button @@ -403,6 +410,7 @@ // "AB_buttons_action_button_new_window_yes" => "oui", // "AB_buttons_action_button_hideifnoaccess_label" => "Masquer si l'utilisateur n'a pas accès à la page liée", // "AB_buttons_action_button_nobtn_label" => "Afficher sous forme de lien", + // reactions 'AB_REACTION_GROUP_LABEL' => 'Reactions / Votes', 'AB_REACTION_TITLE_LABEL' => 'Title of the vote', @@ -422,6 +430,7 @@ 'AB_MYFAVORITES_TEMPLATE_LINKS_WITH_TITLES' => 'Links with titles', 'AB_MYFAVORITES_TEMPLATE_TILES' => 'Tiles', 'AB_MYFAVORITES_TEMPLATE_TABLE' => 'Table', + // // syndication // "AB_syndication_main_label" => "Syndication / Flux RSS", // "AB_syndication_action_label" => "Syndication", @@ -442,50 +451,30 @@ // "AB_syndication_action_formatdate_option_jma" => "Jour Mois année", // "AB_syndication_action_formatdate_option_jmh" => "Jour mois heure", // "AB_syndication_action_formatdate_option_jmah" => "Jour mois année heure", + // tableau - 'AB_bazartableau_label' => "Table", - 'AB_bazartableau_description' => "Display in a table", - 'AB_bazartableau_columnfieldsids_label' => "Fields to display", - 'AB_bazartableau_columnfieldsids_hint' => "Empty = all", - 'AB_bazartableau_columntitles_label' => "Comlumns titles", - 'AB_bazartableau_columntitles_hint' => "Separated by coma - empty = field's name autoatically get", - 'AB_bazartableau_checkboxfieldsincolumns_label' => "Display answers for checkbox fields in separated columns", - 'AB_bazartableau_displayvaluesinsteadofkeys_label' => "Display values instead of keys", - 'AB_bazartableau_sumfieldsids_label' => "Fields fo which calculate the sum", - 'AB_bazartableau_sumfieldsids_hint' => "Empty = no field", - 'AB_bazartableau_displayadmincol_label' => "Display admins buttons", - 'AB_bazartableau_displayadmincol_hint' => "Edit/Delete", - 'AB_bazartableau_displayadmincol_onlyadmins' => "Only for admins", - 'AB_bazartableau_displaycreationdate_label' => "Display creation date", - 'AB_bazartableau_displaylastchangedate_label' => "Display modification date", - 'AB_bazartableau_displayowner_label' => "Display owner", - 'AB_bazartableau_defaultcolumnwidth_label' => "Minimal column width", - 'AB_bazartableau_defaultcolumnwidth_hint' => "e.g.: 100px or 20%; empty = automatic width (empty is prettier in case of customization per field)", - 'AB_bazartableau_columnswidth_label' => "Custom columns width", - 'AB_bazartableau_columnswidth_hint' => "ex. : 100px ou 20% ; empty = automatic width", - 'AB_bazartableau_columnswidth_field_label' => "Field", - 'AB_bazartableau_columnswidth_width_label' => "Width", - 'AB_bazartableau_exportallcolumns_label' => "Also export hidden columns", - 'AB_bazartableau_displayimagesasthumbnails_label' => "Display images as thumbnails", - 'AB_bazar_commons_subproperty_id_label' => "Value", - 'AB_bazar_commons_minical' => "Show content in a minimal calendar", - 'AB_bazar_commons_dynamic_label' => "Clientside rendering", - 'AB_bazar_commons_colorfield_label' => "Color field", - 'AB_bazar_commons_colormapping_color_label' => "Color", - 'AB_bazar_commons_iconfield_icon_label' => "Icon", - 'AB_bazar_commons_pagination_label' => "Number of entries per page", - 'AB_bazar_commons2_champ_hint' => "It is possible to do advanced queries, learn more", - 'AB_bazar_commons2_champ_label' => "Field for sorting", - 'AB_bazar_commons_title' => "Display", - 'AB_bazar_commons_iconfield_iconprefix_hint' => "If you use the icon selector, you don't need this field", - 'AB_bazar_commons_iconfield_label' => "Icon field", - 'AB_RIGHT' => "Right", - 'AB_bazar_commons_iconfield_iconprefix_label' => "Prefix for icons", - 'AB_bazar_commons_search_label_dynamic' => "Dynamic search", - 'AB_bazar_commons2_filter_on_date_on_current_month' => "in the coming month", - 'AB_bazar_commons_search_fields_label' => "Fields for search", - // AB stands for ActionsBuilder - // Commons - 'AB_LEFT' => "Left", - 'AB_bazar_commons_pagination_hint' => "Leave empty for not using paging", + "AB_bazartableau_label" => "Table", + "AB_bazartableau_description" => "Display in a table", + "AB_bazartableau_columnfieldsids_label" => "Fields to display", + "AB_bazartableau_columnfieldsids_hint" => "Empty = all", + "AB_bazartableau_columntitles_label" => "Comlumns titles", + "AB_bazartableau_columntitles_hint" => "Separated by coma - empty = field's name autoatically get", + "AB_bazartableau_checkboxfieldsincolumns_label" => "Display answers for checkbox fields in separated columns", + "AB_bazartableau_displayvaluesinsteadofkeys_label" => "Display values instead of keys", + "AB_bazartableau_sumfieldsids_label" => "Fields fo which calculate the sum", + "AB_bazartableau_sumfieldsids_hint" => "Empty = no field", + "AB_bazartableau_displayadmincol_label" => "Display admins buttons", + "AB_bazartableau_displayadmincol_hint" => "Edit/Delete", + "AB_bazartableau_displayadmincol_onlyadmins" => "Only for admins", + "AB_bazartableau_displaycreationdate_label" => "Display creation date", + "AB_bazartableau_displaylastchangedate_label" => "Display modification date", + "AB_bazartableau_displayowner_label" => "Display owner", + "AB_bazartableau_defaultcolumnwidth_label" => "Minimal column width", + "AB_bazartableau_defaultcolumnwidth_hint" => "e.g.: 100px or 20%; empty = automatic width (empty is prettier in case of customization per field)", + "AB_bazartableau_columnswidth_label" => "Custom columns width", + "AB_bazartableau_columnswidth_hint" => "ex. : 100px ou 20% ; empty = automatic width", + "AB_bazartableau_columnswidth_field_label" => "Field", + "AB_bazartableau_columnswidth_width_label" => "Width", + "AB_bazartableau_exportallcolumns_label" => "Also export hidden columns", + "AB_bazartableau_displayimagesasthumbnails_label" => "Display images as thumbnails", ]; diff --git a/docs/actions/lang/actionsbuilder_fr.inc.php b/docs/actions/lang/actionsbuilder_fr.inc.php index 0f6149428..3f3562925 100644 --- a/docs/actions/lang/actionsbuilder_fr.inc.php +++ b/docs/actions/lang/actionsbuilder_fr.inc.php @@ -122,6 +122,11 @@ "AB_bazarcard_style_vertical" => 'Vertical', "AB_bazarcard_style_square" => 'Carré', "AB_bazarcard_style_horizontal" => 'Horizontal', + "AB_bazarcard_imgstyle_label"=>'Dimension image', + "AB_bazarcard_imgstyle_contain"=>'Image entière', + "AB_bazarcard_imgstyle_cover"=>'Couvrir la zone / Rogner', + "AB_bazarcard_nblines_label"=> 'Nombre de lignes pour le sous-titre', + // BazarTable 'AB_BAZAR_MAP_AND_TABLE_LABEL' => 'Carte et tableau', 'AB_BAZAR_MAP_AND_TABLE_TABLEWITH_LABEL' => 'Tableau contenant toutes les fiches', diff --git a/tools/bazar/presentation/styles/card.css b/tools/bazar/presentation/styles/card.css index 008804cd7..17f0338e7 100644 --- a/tools/bazar/presentation/styles/card.css +++ b/tools/bazar/presentation/styles/card.css @@ -72,7 +72,9 @@ a.bazar-card { border-radius: 6px; margin-bottom: 1.5rem; transition: filter .2s; + background-position: top center; } + .bazar-card .visual-area.placeholder { background-image: repeating-linear-gradient(45deg, transparent, transparent 32px, #eeeeee 32px, #eeeeee 64px); background-color: #f5f5f5; @@ -128,7 +130,7 @@ a.bazar-card { border-radius: 6px; justify-content: space-between; border: 1px solid #ebebeb; - background-color: whitesmoke; + background-color: var(--neutral-light-color);; } .style-vertical .bazar-card .visual-area { margin: -1.5rem; @@ -174,7 +176,7 @@ a.bazar-card { .style-horizontal .bazar-card .visual-area { height: 100%; width: 13.5rem; - margin-right: 1.5rem; + /*margin-right: 1.5rem;*/ margin-bottom: 0; object-fit: cover; } @@ -207,6 +209,7 @@ a.bazar-card { } } + /* STYLE SQUARE */ .style-square .bazar-card .visual-area { margin-bottom: 0; @@ -214,6 +217,7 @@ a.bazar-card { height: 300px; max-height: 300px; object-fit: cover; + object-position: top; } .bazar-cards-container.nbcol-4.style-square .bazar-card .visual-area { height: 250px; @@ -241,4 +245,12 @@ a.bazar-card { } .style-square .bazar-card .floating-area { top: -.5rem; -} \ No newline at end of file +} + +/* tronquer texte sous-titre*/ +.line-clamp .field-default { + display: -webkit-box; + -webkit-line-clamp: inherit; + -webkit-box-orient: vertical; + overflow: hidden; +} diff --git a/tools/bazar/templates/entries/index-dynamic-templates/card.twig b/tools/bazar/templates/entries/index-dynamic-templates/card.twig index e1d3f2517..8599f5970 100644 --- a/tools/bazar/templates/entries/index-dynamic-templates/card.twig +++ b/tools/bazar/templates/entries/index-dynamic-templates/card.twig @@ -15,7 +15,7 @@ {% endif %} {% set imWidth = (nbcol == 4) ? 250 : (nbcol == 5 ? 200 : 300 ) %} {% set imHeight = params.style == "square" ? imWidth : (params.style == "horizontal" ? imWidth*23//27 : imWidth*2//3 ) %} - {% set firstTokenCrop = csrfToken("POST api/images/cache/#{imWidth}/#{imHeight}/crop") %} + {% set firstTokenCrop = csrfToken("POST api/images/cache/#{imWidth}/#{imHeight}/fit") %}