Treat Brava-style SEMANA/Story/POST Excel as the official calendar template.
Harden week-grid parsing (placeholders, status rows, month wrap) and ship an October-shaped plantilla for agency uploads. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -56,17 +56,23 @@ export default function CalendarUpload({
|
||||
Subir calendario (CSV, Excel o JSON)
|
||||
</h3>
|
||||
<p className="text-xs text-gray-500 mt-1">
|
||||
Encaja las publicaciones por día en el mes. Acepta rejilla SEMANA /
|
||||
STORIES / POST o columnas fecha + título / copy. Si el mes ya
|
||||
existía, se reemplaza.
|
||||
Plantilla oficial: Excel por mes con filas SEMANA / Story / POST
|
||||
(como Brava Octubre). También CSV con columnas fecha + título. Si
|
||||
el mes ya existía, se reemplaza.
|
||||
</p>
|
||||
</div>
|
||||
<div className="flex flex-wrap items-center gap-2">
|
||||
<a
|
||||
href="/api/calendar/upload"
|
||||
href="/plantillas/calendario-rrss-oficial.xlsx"
|
||||
className="rounded-xl border border-gray-200 bg-white px-3 py-2 text-xs font-semibold text-gray-700 hover:border-brand-300"
|
||||
>
|
||||
Descargar plantilla CSV
|
||||
Plantilla Excel (oficial)
|
||||
</a>
|
||||
<a
|
||||
href="/api/calendar/upload"
|
||||
className="rounded-xl border border-gray-200 bg-white px-3 py-2 text-xs font-semibold text-gray-500 hover:border-brand-300"
|
||||
>
|
||||
CSV alternativo
|
||||
</a>
|
||||
<button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user