Postning new items from the shares timeline

main
Bob Mottram 2020-11-15 20:56:22 +00:00
parent 06478d9ddb
commit 29676ddbdd
16 changed files with 44 additions and 15 deletions

View File

@ -327,5 +327,6 @@
"Settings": "إعدادات",
"Citations": "اقتباسات",
"Choose newswire items referenced in your article": "اختر العناصر الإخبارية المشار إليها في مقالتك",
"RSS feed for your blog": "تغذية RSS لمدونتك"
"RSS feed for your blog": "تغذية RSS لمدونتك",
"Create a new shared item": "إنشاء عنصر مشترك جديد"
}

View File

@ -327,5 +327,6 @@
"Settings": "Configuració",
"Citations": "Cites",
"Choose newswire items referenced in your article": "Trieu articles de newswire als quals faci referència el vostre article",
"RSS feed for your blog": "Feed RSS del vostre bloc"
"RSS feed for your blog": "Feed RSS del vostre bloc",
"Create a new shared item": "Creeu un element compartit nou"
}

View File

@ -327,5 +327,6 @@
"Settings": "Gosodiadau",
"Citations": "Dyfyniadau",
"Choose newswire items referenced in your article": "Dewiswch eitemau newyddion y cyfeirir atynt yn eich erthygl",
"RSS feed for your blog": "Porthiant RSS ar gyfer eich blog"
"RSS feed for your blog": "Porthiant RSS ar gyfer eich blog",
"Create a new shared item": "Creu eitem newydd a rennir"
}

View File

@ -327,5 +327,6 @@
"Settings": "Einstellungen",
"Citations": "Zitate",
"Choose newswire items referenced in your article": "Wählen Sie Newswire-Artikel aus, auf die in Ihrem Artikel verwiesen wird",
"RSS feed for your blog": "RSS-Feed für Ihr Blog"
"RSS feed for your blog": "RSS-Feed für Ihr Blog",
"Create a new shared item": "Erstellen Sie ein neues freigegebenes Element"
}

View File

@ -327,5 +327,6 @@
"Settings": "Settings",
"Citations": "Citations",
"Choose newswire items referenced in your article": "Choose newswire items referenced in your article",
"RSS feed for your blog": "RSS feed for your blog"
"RSS feed for your blog": "RSS feed for your blog",
"Create a new shared item": "Create a new shared item"
}

View File

@ -327,5 +327,6 @@
"Settings": "Configuraciones",
"Citations": "Citas",
"Choose newswire items referenced in your article": "Elija elementos de Newswire a los que se hace referencia en su artículo",
"RSS feed for your blog": "Fuente RSS para tu blog"
"RSS feed for your blog": "Fuente RSS para tu blog",
"Create a new shared item": "Crea un nuevo elemento compartido"
}

View File

@ -327,5 +327,6 @@
"Settings": "Réglages",
"Citations": "Citations",
"Choose newswire items referenced in your article": "Choisissez les éléments de fil d'actualité référencés dans votre article",
"RSS feed for your blog": "Flux RSS pour votre blog"
"RSS feed for your blog": "Flux RSS pour votre blog",
"Create a new shared item": "Créer un nouvel élément partagé"
}

View File

@ -327,5 +327,6 @@
"Settings": "Socruithe",
"Citations": "Citations",
"Choose newswire items referenced in your article": "Roghnaigh míreanna sreanga nuachta dá dtagraítear i dalt",
"RSS feed for your blog": "Fotha RSS do do bhlag"
"RSS feed for your blog": "Fotha RSS do do bhlag",
"Create a new shared item": "Cruthaigh mír nua roinnte"
}

View File

@ -327,5 +327,6 @@
"Settings": "समायोजन",
"Citations": "उद्धरण",
"Choose newswire items referenced in your article": "अपने लेख में संदर्भित newswire आइटम चुनें",
"RSS feed for your blog": "RSS आपके ब्लॉग के लिए फ़ीड करता है"
"RSS feed for your blog": "RSS आपके ब्लॉग के लिए फ़ीड करता है",
"Create a new shared item": "एक नया साझा आइटम बनाएं"
}

View File

@ -327,5 +327,6 @@
"Settings": "impostazioni",
"Citations": "Citazioni",
"Choose newswire items referenced in your article": "Scegli gli articoli del newswire a cui fa riferimento il tuo articolo",
"RSS feed for your blog": "Feed RSS per il tuo blog"
"RSS feed for your blog": "Feed RSS per il tuo blog",
"Create a new shared item": "Crea un nuovo elemento condiviso"
}

View File

@ -327,5 +327,6 @@
"Settings": "設定",
"Citations": "引用",
"Choose newswire items referenced in your article": "あなたの記事で参照されているニュースワイヤーアイテムを選択してください",
"RSS feed for your blog": "ブログのRSSフィード"
"RSS feed for your blog": "ブログのRSSフィード",
"Create a new shared item": "新しい共有アイテムを作成する"
}

View File

@ -323,5 +323,6 @@
"Settings": "Settings",
"Citations": "Citations",
"Choose newswire items referenced in your article": "Choose newswire items referenced in your article",
"RSS feed for your blog": "RSS feed for your blog"
"RSS feed for your blog": "RSS feed for your blog",
"Create a new shared item": "Create a new shared item"
}

View File

@ -327,5 +327,6 @@
"Settings": "Definições",
"Citations": "Citações",
"Choose newswire items referenced in your article": "Escolha os itens de notícias mencionados em seu artigo",
"RSS feed for your blog": "Feed RSS para o seu blog"
"RSS feed for your blog": "Feed RSS para o seu blog",
"Create a new shared item": "Crie um novo item compartilhado"
}

View File

@ -327,5 +327,6 @@
"Settings": "Настройки",
"Citations": "Цитаты",
"Choose newswire items referenced in your article": "Выберите элементы ленты новостей, на которые есть ссылки в вашей статье",
"RSS feed for your blog": "RSS-канал для вашего блога"
"RSS feed for your blog": "RSS-канал для вашего блога",
"Create a new shared item": "Создать новый общий элемент"
}

View File

@ -327,5 +327,6 @@
"Settings": "设定值",
"Citations": "引文",
"Choose newswire items referenced in your article": "选择文章中引用的新闻专栏文章",
"RSS feed for your blog": "您博客的RSS供稿"
"RSS feed for your blog": "您博客的RSS供稿",
"Create a new shared item": "创建一个新的共享项目"
}

View File

@ -312,6 +312,20 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
'<a href="' + usersPath + '/newevent">' + \
'<button class="button"><span>' + \
translate['Post'] + '</span></button></a>'
elif boxName == 'tlshares':
if not iconsAsButtons:
newPostButtonStr += \
'<a class="imageAnchor" href="' + usersPath + \
'/newshare"><img loading="lazy" src="/' + \
iconsPath + '/newpost.png" title="' + \
translate['Create a new shared item'] + '" alt="| ' + \
translate['Create a new shared item'] + \
'" class="timelineicon"/></a>\n'
else:
newPostButtonStr += \
'<a href="' + usersPath + '/newshare">' + \
'<button class="button"><span>' + \
translate['Post'] + '</span></button></a>'
else:
if not manuallyApproveFollowers:
if not iconsAsButtons: