Our Privacy Policy has changed, please visit https://about.gitlab.com/privacy to review these changes.
[Sprint/OldfashionedOwl] (chore) add yellow flag to scheduled activities
closes #1347
0/1 thread resolved
110 110 </View> 111 111 { this.showActions() } 112 { this.isScheduled() && 113 <View style={[{backgroundColor: '#ffecb3'}, CommonStyle.padding]}> 114 <Text style={[styles.scheduledText, CommonStyle.paddingLeft]}> 115 {`${i18n.t('activity.scheduled')} ${formatDate(this.props.entity.time_created)}.`} 116 </Text> 117 </View> } 112 118 { this.props.isLast ? <View style={styles.activitySpacer}></View> : null} 113 { !this.props.hideTabs && <ActivityMetrics entity={this.props.entity}/> } 119 { !this.props.hideTabs && !this.isScheduled() && <ActivityMetrics entity={this.props.entity}/> } 114 120 </View> 115 121 ); 116 122 } 117 123 124 isScheduled() { - Maintainer
Maybe it will be useful to move this method to the activity model