Changeset 7220 for SRUAggregator


Ignore:
Timestamp:
10/21/18 18:22:25 (6 years ago)
Author:
Leif-Jöran
Message:

Updates to about page, license etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SRUAggregator/trunk/src/main/resources/assets/js/pages/aboutpage.jsx

    r7148 r7220  
    1010    propTypes: {
    1111        toStatistics: PT.func.isRequired,
     12    },
     13
     14    toStatistics: function(e) {
     15        this.props.toStatistics(true);
     16        e.preventDefault();
     17        e.stopPropagation();
    1218    },
    1319
     
    2733
    2834                         <h3>Statistics</h3>
    29                         <button type="button" className="btn btn-default btn-lg" onClick={function(){this.props.toStatistics(true)}.bind(this)} >
     35                        <button type="button" className="btn btn-default btn-lg" onClick={this.toStatistics} >
    3036                        <span className="glyphicon glyphicon-cog" aria-hidden="true"> </span>View server log</button>
    3137                 </div>
     
    6268                <ul>
    6369                   <li><a href="http://facebook.github.io/react/">React</a>{" "}
    64                                                                 (<a href="https://github.com/facebook/react/blob/master/LICENSE">BSD license</a>)
     70                                                                (<a href="https://github.com/facebook/react/blob/master/LICENSE">MIT license</a>)
    6571                </li>
    6672                <li><a href="http://getbootstrap.com/">Bootstrap</a>{" "}
Note: See TracChangeset for help on using the changeset viewer.