|
@@ -41,23 +41,23 @@ class LSListaClases extends Component {
|
|
|
|
|
|
|
|
return (
|
|
return (
|
|
|
<Card>
|
|
<Card>
|
|
|
- <CardSection>
|
|
|
|
|
- <Text>{ data.titulo}</Text>
|
|
|
|
|
- </CardSection>
|
|
|
|
|
|
|
+ <CardSection>
|
|
|
|
|
+ <Text>{data.titulo}</Text>
|
|
|
|
|
+ </CardSection>
|
|
|
|
|
|
|
|
- <CardSection>
|
|
|
|
|
- <Text style={{ flex: 1 }}>Profesor:</Text>
|
|
|
|
|
- <Text style={{ flex: 1, fontWeight: '600' }}>
|
|
|
|
|
- { data.profesor.nombre} { data.profesor.apellido}
|
|
|
|
|
- </Text>
|
|
|
|
|
- </CardSection>
|
|
|
|
|
|
|
+ <CardSection>
|
|
|
|
|
+ <Text style={{ flex: 1 }}>Profesor:</Text>
|
|
|
|
|
+ <Text style={{ flex: 1, fontWeight: '600' }}>
|
|
|
|
|
+ {data.profesor.nombre} {data.profesor.apellido}
|
|
|
|
|
+ </Text>
|
|
|
|
|
+ </CardSection>
|
|
|
|
|
|
|
|
- <CardSection>
|
|
|
|
|
- <Text style={{ flex: 1 }}>Fecha:</Text>
|
|
|
|
|
- <Text style={{ flex: 1 }}>{ fecha}</Text>
|
|
|
|
|
- </CardSection>
|
|
|
|
|
|
|
+ <CardSection>
|
|
|
|
|
+ <Text style={{ flex: 1 }}>Fecha:</Text>
|
|
|
|
|
+ <Text style={{ flex: 1 }}>{fecha}</Text>
|
|
|
|
|
+ </CardSection>
|
|
|
|
|
|
|
|
- { this.renderButton(data)}
|
|
|
|
|
|
|
+ {this.renderButton(data)}
|
|
|
</Card>
|
|
</Card>
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|
|
@@ -65,11 +65,11 @@ class LSListaClases extends Component {
|
|
|
render() {
|
|
render() {
|
|
|
return (
|
|
return (
|
|
|
<View style={{ flex: 1 }}>
|
|
<View style={{ flex: 1 }}>
|
|
|
- <ListView
|
|
|
|
|
- enableEmptySections
|
|
|
|
|
- dataSource={this.dataSource}
|
|
|
|
|
- renderRow={this.renderRow.bind(this)}
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ <ListView
|
|
|
|
|
+ enableEmptySections
|
|
|
|
|
+ dataSource={this.dataSource}
|
|
|
|
|
+ renderRow={this.renderRow.bind(this)}
|
|
|
|
|
+ />
|
|
|
</View>
|
|
</View>
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|