diff --git a/js/components/ascribe_accordion_list/accordion_list_item.js b/js/components/ascribe_accordion_list/accordion_list_item.js index e9bb8742..fc8715a7 100644 --- a/js/components/ascribe_accordion_list/accordion_list_item.js +++ b/js/components/ascribe_accordion_list/accordion_list_item.js @@ -11,6 +11,7 @@ let AccordionListItem = React.createClass({ }, render() { + console.log(this.props.content); return (
@@ -21,6 +22,7 @@ let AccordionListItem = React.createClass({

{this.props.content.title}

{getLangText('by %s', this.props.content.artist_name)}

+

{this.props.content.date_created.split('-')[0]}

diff --git a/js/utils/lang_utils.js b/js/utils/lang_utils.js index 7eb4b6f3..d1ea5fd5 100644 --- a/js/utils/lang_utils.js +++ b/js/utils/lang_utils.js @@ -11,7 +11,7 @@ import { formatText } from './general_utils'; export function getLangText(s, ...args) { let lang = navigator.language || navigator.userLanguage; // this is just for testing, as changing the navigator.language wasn't possible - lang = 'de'; + //lang = 'de'; try { if(lang in languages) { return formatText(languages[lang][s], args); diff --git a/sass/ascribe_accordion_list.scss b/sass/ascribe_accordion_list.scss index 43b77fa9..13023d0f 100644 --- a/sass/ascribe_accordion_list.scss +++ b/sass/ascribe_accordion_list.scss @@ -36,8 +36,8 @@ $ascribe-accordion-list-font: 'Source Sans Pro'; float:left; font-family: $ascribe-accordion-list-font; margin-left: 2em; - padding-top: .75em; h1 { + margin-top: .5em; font-size: 2.25em; } h3 {