Esempio n. 1
0
def view_notes_using_tag(tag_id):
    notes = functions.get_notes_using_tag_id(tag_id, session['id'])
    tag_name = functions.get_tagname_using_tag_id(tag_id)
    return render_template('view_tag.html',
                           notes=notes,
                           username=session['username'],
                           tag_name=tag_name)
Esempio n. 2
0
def view_notes_using_tag(tag_id):
    '''
        App za pregled svih dostupnih bilješki označenih pod određenom oznakom
    '''
    notes = functions.get_notes_using_tag_id(tag_id, session['id'])
    tag_name = functions.get_tagname_using_tag_id(tag_id)
    return render_template('view_tag.html',
                           notes=notes,
                           username=session['username'],
                           tag_name=tag_name)
Esempio n. 3
0
def view_notes_using_tag(tag_id):
    '''
        App for viewing all available notes tagged under specific tag
    '''
    notes = functions.get_notes_using_tag_id(tag_id, session['id'])
    tag_name = functions.get_tagname_using_tag_id(tag_id)
    return render_template('view_tag.html',
                           notes=notes,
                           username=session['username'],
                           tag_name=tag_name)