Skip to content

Commit

Permalink
default commit
Browse files Browse the repository at this point in the history
  • Loading branch information
interrogator committed May 26, 2020
1 parent d106665 commit 3371a8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions buzzword/templates/jbase.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="en-us">
<head>
<title>{% block title %}buzzword{% endblock %}</title>
<link rel="shortcut icon" type="image/png" href="{% static 'favicon.ico' %}"/>
<link href="{% static 'plugins/css/ace.min.css' %}" type="text/css" media="all" rel="stylesheet" />
<link href="{% static 'plugins/css/semantic.min.css' %}" type="text/css" media="all" rel="stylesheet" />
<link href="{% static 'plugins/css/resizable.min.css' %}" type="text/css" media="all" rel="stylesheet" />
Expand Down
3 changes: 2 additions & 1 deletion compare/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ def browse_collection(request, slug):
template = loader.get_template("compare/sidetoside.html")
plaintext = get_raw_text_for_ocr(slug, pdf)
initial_textbox = dict(description=plaintext)
form = PostForm(initial={"description": plaintext})
commit = f"Update {os.path.splitext(os.path.basename(pdf_path))[0]}"
form = PostForm(initial={"description": plaintext, "commit_msg": commit})
context = {
"pdf_filepath": "/" + pdf_path,
# "file_showing": filepath_for_pdf(pdf),
Expand Down

0 comments on commit 3371a8a

Please sign in to comment.