<commit_before>isic.views.LayoutHeaderView = isic.View.extend({
    events: {
        'click .isic-link-home': function () {
            isic.router.navigate('index', {trigger: true});
        },

        'click .isic-link-forum': function () {
            isic.router.navigate('forum', {trigger: true});
        },

        'click .isic-link-dataset-upload': function () {
            isic.router.navigate('uploadDataset', {trigger: true});
        },

        'click .isic-link-studies': function () {
            isic.router.navigate('studies', {trigger: true});
        },

        'click .isic-link-featuresets': function () {
            isic.router.navigate('featuresets', {trigger: true});
        },

        'click .isic-link-tasks': function () {
            isic.router.navigate('tasks', {trigger: true});
        }
    },

    initialize: function () {
        this.datasetContributor = false;

        this._updateUserInfo();

        girder.events.on('g:login', this._updateUserInfo, this);
<commit_msg>Add event routing for Images header button<commit_after>isic.views.LayoutHeaderView = isic.View.extend({
    events: {
        'click .isic-link-home': function () {
            isic.router.navigate('index', {trigger: true});
        },

        'click .isic-link-forum': function () {
            isic.router.navigate('forum', {trigger: true});
        },

        'click .isic-link-dataset-upload': function () {
            isic.router.navigate('uploadDataset', {trigger: true});
        },

        'click .isic-link-images': function () {
            isic.router.navigate('images', {trigger: true});
        },

        'click .isic-link-studies': function () {
            isic.router.navigate('studies', {trigger: true});
        },

        'click .isic-link-featuresets': function () {
            isic.router.navigate('featuresets', {trigger: true});
        },

        'click .isic-link-tasks': function () {
            isic.router.navigate('tasks', {trigger: true});
        }
    },

    initialize: function () {
        this.datasetContributor = false;

        this._updateUserInfo();

        girder.events.on('g:login', this._updateUserInfo, this);

{'fraction_non_alphanumeric': 0.16369455875628716, 'fraction_numerical': 0.0, 'mean_word_length': 2.1436781609195403, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6602641', 'n_tokens_mistral': 658, 'n_tokens_neox': 637, 'n_words': 106}