Skip to content

Commit

Permalink
Merge pull request #555 from UniversityOfHelsinkiCS/trunk
Browse files Browse the repository at this point in the history
- sentry to front
- show student number to teacher
  • Loading branch information
qzuw authored Nov 6, 2018
2 parents e9d2f64 + 36ece10 commit c2d988b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions labtool2.0/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<script src="https://cdn.ravenjs.com/3.19.1/raven.min.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.12/semantic.min.css"></link>

<!--
Expand Down
4 changes: 4 additions & 0 deletions labtool2.0/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ import ManageTags from './components/pages/ManageTags'
import { logout } from './reducers/loginReducer'
import { tokenLogin } from './reducers/loginReducer'

try {
Raven.config('https://[email protected]/8').install() // eslint-disable-line
} catch (e) { } // eslint-disable-line

// The main component of the whole application.
class App extends Component {
/**
Expand Down
5 changes: 2 additions & 3 deletions labtool2.0/src/components/pages/BrowseReviews.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,10 @@ export class BrowseReviews extends Component {
<Card key={student.id} fluid color="yellow">
<Card.Content>
<h2>
{student.User.firsts} {student.User.lastname}
{student.User.firsts} {student.User.lastname} {student.User.studentNumber}
</h2>
<h3> {student.projectName} </h3>
<h3>
{' '}
{student.projectName}{' '}
<a href={student.github} target="_blank" rel="noopener noreferrer">
{student.github}
</a>
Expand Down

0 comments on commit c2d988b

Please sign in to comment.