From eefaf5be04df05ca909178746e608053f67a1de9 Mon Sep 17 00:00:00 2001
From: Michael Terry <mterry@edx.org>
Date: Fri, 24 Apr 2020 14:15:06 -0400
Subject: [PATCH] Show graded unit icon

This shows the 'problem' icon for LTI units, rather than the default
'other' icon.

AA-75
---
 lti_consumer/lti_consumer.py | 1 +
 setup.py                     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/lti_consumer/lti_consumer.py b/lti_consumer/lti_consumer.py
index 19fa375..943ada3 100644
--- a/lti_consumer/lti_consumer.py
+++ b/lti_consumer/lti_consumer.py
@@ -250,6 +250,7 @@ class LtiConsumerXBlock(StudioEditableXBlockMixin, XBlock):
     """
 
     block_settings_key = 'lti_consumer'
+    icon_class = 'problem'
 
     display_name = String(
         display_name=_("Display Name"),
diff --git a/setup.py b/setup.py
index 7422ace..0e78c3d 100644
--- a/setup.py
+++ b/setup.py
@@ -25,7 +25,7 @@ def package_data(pkg, roots):
 
 setup(
     name='lti_consumer-xblock',
-    version='1.2.5',
+    version='1.2.6',
     description='This XBlock implements the consumer side of the LTI specification.',
     packages=[
         'lti_consumer',
-- 
GitLab