mirror of https://gitlab.com/bashrc2/epicyon
Edit blog post button
parent
f941d2541c
commit
c68174540a
|
@ -216,5 +216,6 @@
|
|||
"Blog": "مدونة",
|
||||
"Blogs": "المدونات",
|
||||
"Title": "عنوان",
|
||||
"About the author": "عن المؤلف"
|
||||
"About the author": "عن المؤلف",
|
||||
"Edit blog post": "تحرير بلوق وظيفة"
|
||||
}
|
||||
|
|
|
@ -216,5 +216,6 @@
|
|||
"Blog": "Bloc",
|
||||
"Blogs": "Blocs",
|
||||
"Title": "Títol",
|
||||
"About the author": "Sobre l’autor"
|
||||
"About the author": "Sobre l’autor",
|
||||
"Edit blog post": "Edita la publicació del bloc"
|
||||
}
|
||||
|
|
|
@ -216,5 +216,6 @@
|
|||
"Blog": "Blog",
|
||||
"Blogs": "Blogs",
|
||||
"Title": "Teitl",
|
||||
"About the author": "Am yr awdur"
|
||||
"About the author": "Am yr awdur",
|
||||
"Edit blog post": "Golygu post blog"
|
||||
}
|
||||
|
|
|
@ -216,5 +216,6 @@
|
|||
"Blog": "Blog",
|
||||
"Blogs": "Blogs",
|
||||
"Title": "Titel",
|
||||
"About the author": "Über den Autor"
|
||||
"About the author": "Über den Autor",
|
||||
"Edit blog post": "Blog-Beitrag bearbeiten"
|
||||
}
|
||||
|
|
|
@ -216,5 +216,6 @@
|
|||
"Blog": "Blog",
|
||||
"Blogs": "Blogs",
|
||||
"Title": "Title",
|
||||
"About the author": "About the author"
|
||||
"About the author": "About the author",
|
||||
"Edit blog post": "Edit blog post"
|
||||
}
|
||||
|
|
|
@ -216,5 +216,6 @@
|
|||
"Blog": "Blog",
|
||||
"Blogs": "Blogs",
|
||||
"Title": "Título",
|
||||
"About the author": "Sobre la autora"
|
||||
"About the author": "Sobre la autora",
|
||||
"Edit blog post": "Editar publicación de blog"
|
||||
}
|
||||
|
|
|
@ -216,5 +216,6 @@
|
|||
"Blog": "Blog",
|
||||
"Blogs": "Blogs",
|
||||
"Title": "Titre",
|
||||
"About the author": "A propos de l'auteur"
|
||||
"About the author": "A propos de l'auteur",
|
||||
"Edit blog post": "Modifier le billet de blog"
|
||||
}
|
||||
|
|
|
@ -216,5 +216,6 @@
|
|||
"Blog": "Blag",
|
||||
"Blogs": "Blaganna",
|
||||
"Title": "Teideal",
|
||||
"About the author": "Faoin tÚdar"
|
||||
"About the author": "Faoin tÚdar",
|
||||
"Edit blog post": "Cuir post an bhlag in eagar"
|
||||
}
|
||||
|
|
|
@ -216,5 +216,6 @@
|
|||
"Blog": "ब्लॉग",
|
||||
"Blogs": "ब्लॉग",
|
||||
"Title": "शीर्षक",
|
||||
"About the author": "लेखक के बारे में"
|
||||
"About the author": "लेखक के बारे में",
|
||||
"Edit blog post": "ब्लॉग पोस्ट संपादित करें"
|
||||
}
|
||||
|
|
|
@ -216,5 +216,6 @@
|
|||
"Blog": "Blog",
|
||||
"Blogs": "Blog",
|
||||
"Title": "Titolo",
|
||||
"About the author": "Circa l'autore"
|
||||
"About the author": "Circa l'autore",
|
||||
"Edit blog post": "Modifica post del blog"
|
||||
}
|
||||
|
|
|
@ -216,5 +216,6 @@
|
|||
"Blog": "ブログ",
|
||||
"Blogs": "ブログ",
|
||||
"Title": "題名",
|
||||
"About the author": "著者について"
|
||||
"About the author": "著者について",
|
||||
"Edit blog post": "ブログ投稿を編集"
|
||||
}
|
||||
|
|
|
@ -212,5 +212,6 @@
|
|||
"Blog": "Blog",
|
||||
"Blogs": "Blogs",
|
||||
"Title": "Title",
|
||||
"About the author": "About the author"
|
||||
"About the author": "About the author",
|
||||
"Edit blog post": "Edit blog post"
|
||||
}
|
||||
|
|
|
@ -216,5 +216,6 @@
|
|||
"Blog": "Blog",
|
||||
"Blogs": "Blogs",
|
||||
"Title": "Título",
|
||||
"About the author": "Sobre o autor"
|
||||
"About the author": "Sobre o autor",
|
||||
"Edit blog post": "Editar postagem do blog"
|
||||
}
|
||||
|
|
|
@ -216,5 +216,6 @@
|
|||
"Blog": "Блог",
|
||||
"Blogs": "Блоги",
|
||||
"Title": "заглавие",
|
||||
"About the author": "Об авторе"
|
||||
"About the author": "Об авторе",
|
||||
"Edit blog post": "Редактировать сообщение в блоге"
|
||||
}
|
||||
|
|
|
@ -216,5 +216,6 @@
|
|||
"Blog": "博客",
|
||||
"Blogs": "网志",
|
||||
"Title": "标题",
|
||||
"About the author": "关于作者"
|
||||
"About the author": "关于作者",
|
||||
"Edit blog post": "编辑博客文章"
|
||||
}
|
||||
|
|
|
@ -2982,13 +2982,22 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
|
|||
'<a href="/users/'+nickname+'?replyfollowers='+replyToLink+ \
|
||||
'?actor='+postJsonObject['actor']+ \
|
||||
'" title="'+translate['Reply to this post']+'">'
|
||||
|
||||
|
||||
replyStr+= \
|
||||
'<img loading="lazy" title="'+ \
|
||||
translate['Reply to this post']+' |" alt="'+ \
|
||||
translate['Reply to this post']+ \
|
||||
' |" src="/'+iconsDir+'/reply.png"/></a>'
|
||||
|
||||
editStr=''
|
||||
if fullDomain+'/users/'+nickname in postJsonObject['actor']:
|
||||
if isBlogPost(postJsonObject):
|
||||
editStr+= \
|
||||
'<a href="/users/'+nickname+'?editblogpost='+ \
|
||||
postJsonObject['object']['id']+ \
|
||||
'?actor='+postJsonObject['actor']+ \
|
||||
'" title="'+translate['Edit blog post']+'">'
|
||||
|
||||
announceStr=''
|
||||
if not isModerationPost and showRepeatIcon:
|
||||
# don't allow announce/repeat of your own posts
|
||||
|
@ -3271,7 +3280,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
|
|||
|
||||
if showIcons:
|
||||
footerStr='<div class="'+containerClassIcons+'">'
|
||||
footerStr+=replyStr+announceStr+likeStr+bookmarkStr+deleteStr+muteStr
|
||||
footerStr+=replyStr+announceStr+likeStr+bookmarkStr+deleteStr+muteStr+editStr
|
||||
footerStr+='<a href="'+publishedLink+'" class="'+timeClass+'">'+publishedStr+'</a>\n'
|
||||
footerStr+='</div>'
|
||||
|
||||
|
|
Loading…
Reference in New Issue