+ {localStorage.getItem('authorImg') !== 'false' ? (
+
-
- {' '}
-
- ) : null}
- {this.state.copy} {this.state.share} {this.state.favourited}
+ {this.state.authorimg === undefined || this.state.authorimg ? (
+ ''
+ ) : (
+
+ )}
+
+ ) : null}
+ {this.state.author !== null ? (
+
+ {this.state.author}
+ {this.state.authorOccupation !== 'Unknown' && (
+ {this.state.authorOccupation}
+ )}
+
+ {this.state.authorimglicense &&
+ this.state.authorimglicense.substring(0, 40) +
+ (this.state.authorimglicense.length > 40 ? '…' : '')}
+
+
+ ) : (
+
+ {/* these are placeholders for skeleton and as such don't need translating */}
+ loading
+ loading
+
+ )}
+ {(this.state.authorOccupation !== 'Unknown' &&
+ this.state.authorlink !== null) ||
+ this.state.copy ||
+ this.state.share ||
+ this.state.favourited ? (
+
+ {this.state.authorOccupation !== 'Unknown' &&
+ this.state.authorlink !== null ? (
+
+
+
+ {' '}
+
+ ) : null}
+ {this.state.copy} {this.state.share} {this.state.favourited}
+
+ ) : null}
+