Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/OpenPecha/Pecha.org into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Lungsangg committed Jan 17, 2025
2 parents 03a082a + 7011643 commit 05a254f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion static/css/s2.css
Original file line number Diff line number Diff line change
Expand Up @@ -13152,7 +13152,7 @@ section.SheetSource .SheetOutsideBiText {
}

.bo-date {
font-size: 40px;
font-family: var(--hebrew-sans-serif-font-family);
}

.sheetList .sheet .sheetTags .bullet {
Expand Down
3 changes: 2 additions & 1 deletion static/js/Misc.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1851,7 +1851,8 @@ const SheetListing = ({
</a>
);
});
const created = <span dangerouslySetInnerHTML={{ __html: Sefaria.util.localeDate(sheet.created)}} />;
let dateClass = Sefaria.interfaceLang == "hebrew"? "bo-date" : "en-date";
const created = <span className={dateClass} dangerouslySetInnerHTML={{ __html: Sefaria.util.localeDate(sheet.created)}} />;
const underInfo = infoUnderneath ? [
sheet.status !== 'public' ? (<span className="unlisted"><img src="/static/img/eye-slash.svg"/><span className='not-published'>{Sefaria._("profile.tab.sheet.tag.not_published")}</span></span>) : undefined,
showAuthorUnderneath ? (<a href={sheet.ownerProfileUrl} target={openInNewTab ? "_blank" : "_self"}>{sheet.ownerName}</a>) : undefined,
Expand Down
2 changes: 1 addition & 1 deletion static/js/TopicPageAll.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class TopicPageAll extends Component {
const sidebarModules = [
{type: "Promo"},
{type: "TrendingTopics"},
{type: "JoinTheConversation", props: {wide:multiPanel,title: 'side_nav.join_conversation'}},
{type: "JoinTheConversation", props: {wide:false,title: 'side_nav.join_conversation'}},
{type: "GetTheApp"},
{type: "SupportSefaria"},
];
Expand Down

0 comments on commit 05a254f

Please sign in to comment.